[SOLVED] Deadlock when reusing a media player ?
Posted: 17 Oct 2009 10:52
Hello,
I am new to the LibVLC and it seems that I am doing something wrong with it.
After playing with the LibVLC SampleCode Qt, my aim is now to play a stream from a playlist file. I think I have found how to know if medias have been parsed from a playlist thanks to the libvlc_MediaSubItemAdd and libvlc_MediaPlayerEndReached events. But when I want to play the first media parsed from the playlist using the media player I have used previously to load the playlist, it just seems to hang.
What is the good way to do that ?
Thanks in advance !
Underground78
I am new to the LibVLC and it seems that I am doing something wrong with it.
After playing with the LibVLC SampleCode Qt, my aim is now to play a stream from a playlist file. I think I have found how to know if medias have been parsed from a playlist thanks to the libvlc_MediaSubItemAdd and libvlc_MediaPlayerEndReached events. But when I want to play the first media parsed from the playlist using the media player I have used previously to load the playlist, it just seems to hang.
What is the good way to do that ?
Thanks in advance !
Underground78