Page 1 of 1

Play list order

Posted: 05 Jan 2016 09:12
by gam2046
Hello:

LibVlc Version : 2.2.1 Terry Pratchett (Weatherwax)

I add 3 items to playlist with libvlc_media_list_add_media, eg:
1.mp4
2.mp4
3.mp4

Then I Stop the playlist with libvlc_media_list_player_stop and libvlc_media_new_location to play a new media(eg. insert.mp4). finally, I Called libvlc_media_list_player_play_item_at_index to return playlist.(eg. return the 2.mp4)

The result is that the player play the insert.mp4 instead of 3.mp4 when the 2.mp4 is finished. That's why?

I use libvlc_media_list_count / libvlc_media_list_item_at_index to traverse the playlist, but insert.mp4 is not in the play list.

Thanks!