libvlc_MediaPlayerEndReached - Now What ?

This forum is about all development around libVLC.
lordawe
New Cone
New Cone
Posts: 8
Joined: 25 Jan 2012 04:45

libvlc_MediaPlayerEndReached - Now What ?

Postby lordawe » 25 Jan 2012 08:43

I am processing an libvlc_MediaPlayerEndReached event and would like to reset the video to the front with SetPos() so that Play() will work again. Do I need to go through the same steps as I initially did to open and play the video in the first place or is there an alternative?
TIA.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: libvlc_MediaPlayerEndReached - Now What ?

Postby mangokm40 » 25 Jan 2012 19:31

You will need to use the search function to get the details. However, I'm responding to this event by creating a thread that makes some decisions about looping, randomizing, etc. Based on those decisions, I use libvlc_media_player_set_media to get the next media ready and libvlc_media_player_play to start it.
I'm a neophyte, so take this with a grain of cheap, Mexican salt. :)

Saludos


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests