Disable automatic video playing
Posted: 05 Feb 2019 00:46
Good evening,
i am developing a embedded music player with libVLC using the media list.
When a file in a video format appears to play, libVLC automatically opens a new window
with the content of the video and starts playing (music and video).
But it should not play the video. I would like to disable this but don't know how.
I searched the library, and tried to set
but it did not work. Video is not configured in my application, so there is not drawing area set or something similiar.
How can i disable the behavior of opening a new window with the movie contents and simply play the audio content?
I hope for your help!
Best regards
Alex
PS: I'm sorry for some mistakes. I'm from germany and not english.
i am developing a embedded music player with libVLC using the media list.
When a file in a video format appears to play, libVLC automatically opens a new window
with the content of the video and starts playing (music and video).
But it should not play the video. I would like to disable this but don't know how.
I searched the library, and tried to set
Code: Select all
libvlc_media_player_set_xwindow(vlc_player, NULL);
How can i disable the behavior of opening a new window with the movie contents and simply play the audio content?
I hope for your help!
Best regards
Alex
PS: I'm sorry for some mistakes. I'm from germany and not english.