Commit 6cecc60a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix playlist play of mp4 ref files.

parent fbe63757
...@@ -428,11 +428,11 @@ static int Open( vlc_object_t * p_this ) ...@@ -428,11 +428,11 @@ static int Open( vlc_object_t * p_this )
} }
if( psz_ref ) free( psz_ref ); if( psz_ref ) free( psz_ref );
} }
if( b_play && p_playlist->status.p_item && if( b_play && p_item_in_category &&
p_playlist->status.p_item->i_children > 0) p_item_in_category->i_children > 0 )
{ {
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, VLC_TRUE, playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, VLC_TRUE,
p_playlist->status.p_item, NULL ); p_item_in_category, NULL );
} }
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
} }
......
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