Reputation: 181
I'm using libvlc with Qt and I noticed that when the media player reaches the end of the video it doesn't respond anymore to window resizing or "play" to restart the video, it just stop working and that is it.
This is what happens if I try to resize when the media player reaches the end:
Behavior while playing:
Behavior after end reaches:
It doesn't happen in the regular Vlc only on the library. Is there any configuration I'm missing or they do something in that situation that I'm not aware of?
Upvotes: 1
Views: 1859
Reputation: 181
SOLVED: I watched the VLC behavior to see how it works when the video reaches the end and I noticed that it just get ride of the video just like it's pressing stop so I managed to call stop on the event libvlc_MediaPlayerEndReached
. It wasn't working before to me because I was using lambdas as the callback for the connections I just replaced them with real methods and it worked just fine.
Upvotes: 2