Commit 0aeff149 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

media_list_player: Make sure we do return an item to play. Should close #1527.

parent 4db98423
......@@ -43,7 +43,9 @@ get_next_path( libvlc_media_list_player_t * p_mlp )
if ( !p_mlp->current_playing_item_path )
{
p_mlp->current_playing_item_path = libvlc_media_list_path_empty();
ret = libvlc_media_list_path_empty();
libvlc_media_list_path_append( &ret, 0 );
return ret;
}
p_sublist_of_playing_item = libvlc_media_list_sublist_at_path(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment