Page 1 of 1

libVLC + SDL2 example not working correctly on Linux

Posted: 22 Dec 2017 14:20
by GAMELASTER
Hello,
I have Lubuntu 14.04 x64, VLC 2.2.5.1 + libVLC + libVLCcore (same versions). I copied second code snippet and slightly changed (removed no-audio and arguments, hardly defined playing video) from https://wiki.videolan.org/LibVLC_SampleCode_SDL/ . And result is:
https://www.youtube.com/watch?v=uHfH19Fd2Bo
As you can see, no video, but there is sound of video.
Also I was checking if "display" function is called, and it is.
Same code on Windows works correctly. Maybe it's SDL2 bug, but not sure. Any ideas?
Console output is same as on Windows

Re: libVLC + SDL2 example not working correctly on Linux

Posted: 27 Dec 2017 11:59
by Jean-Baptiste Kempf
Look at the logs.