[vlc-devel] commit: playlist: append input subitems to the end of parent item ( Jakob Leben )

git version control git at videolan.org
Thu Feb 11 00:27:09 CET 2010


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Thu Feb 11 00:24:30 2010 +0100| [e649d679e7506462940de3f3aac5d59a4febb465] | committer: Jakob Leben 

playlist: append input subitems to the end of parent item

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e649d679e7506462940de3f3aac5d59a4febb465
---

 src/playlist/item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/playlist/item.c b/src/playlist/item.c
index 6d971f2..a234ffb 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -98,7 +98,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
     }
     else
         p_item = playlist_InsertInputItemTree( p_playlist, p_item,
-                                               p_new_root, 0, false );
+                                               p_new_root, p_item->i_children, false );
 
     if( !b_flat ) var_SetAddress( p_playlist, "leaf-to-parent", p_input );
 




More information about the vlc-devel mailing list