Commit dddce3f4 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_descriptor.c: Remove a typo that makes the subitems to appear empty.

parent cd0a507f
...@@ -89,7 +89,7 @@ static void input_item_subitem_added( const vlc_event_t *p_event, ...@@ -89,7 +89,7 @@ static void input_item_subitem_added( const vlc_event_t *p_event,
/* Add this to our media list */ /* Add this to our media list */
if( !p_md->p_subitems ) if( !p_md->p_subitems )
p_md->p_subitems = libvlc_media_list_new( p_md->p_libvlc_instance, NULL ); p_md->p_subitems = libvlc_media_list_new( p_md->p_libvlc_instance, NULL );
if( !p_md->p_subitems ) if( p_md->p_subitems )
{ {
libvlc_media_list_add_media_descriptor( p_md->p_subitems, p_md_child, NULL ); libvlc_media_list_add_media_descriptor( p_md->p_subitems, p_md_child, NULL );
} }
......
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