Start playing a second video after the first one is finished?
Posted: 12 Mar 2024 22:43
Is it possible to reuse a VLC::MediaPlayer object to play a second media file after the first one is finished? I've created an EventManager object and created a function for the OnStopped event so I can do something after the current media has stopped playing.
I try to reload the object with a new "setMedia" command but it just freezes at that point. I've even tried deleting the object and creating a new one off the VLC::Instance.
Is there any sample code that shows what to do?
I try to reload the object with a new "setMedia" command but it just freezes at that point. I've even tried deleting the object and creating a new one off the VLC::Instance.
Is there any sample code that shows what to do?