libVLC + SDL2 example not working correctly on Linux

This forum is about all development around libVLC.
GAMELASTER
New Cone
New Cone
Posts: 1
Joined: 05 Sep 2013 17:49

libVLC + SDL2 example not working correctly on Linux

Postby GAMELASTER » 22 Dec 2017 14:20

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libVLC + SDL2 example not working correctly on Linux

Postby Jean-Baptiste Kempf » 27 Dec 2017 11:59

Look at the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests