[vlc-devel] commit: playlist: restore stop and browse behavior like before ( Jakob Leben )

git version control git at videolan.org
Tue Feb 2 07:36:29 CET 2010


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Tue Feb  2 07:35:37 2010 +0100| [8927c888dc51cd957ecbc1353b4ba6cfb9121455] | committer: Jakob Leben 

playlist: restore stop and browse behavior like before

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

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

diff --git a/src/playlist/item.c b/src/playlist/item.c
index 48ee7be..17cacc1 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -100,8 +100,9 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
         p_item = playlist_InsertInputItemTree( p_playlist, p_item,
                                                p_new_root, 0, false );
 
+    if( !b_flat ) var_SetAddress( p_playlist, "leaf-to-parent", p_input );
 
-    if( b_stop )
+    if( b_stop && !b_flat )
     {
         PL_UNLOCK;
         playlist_Stop( p_playlist );




More information about the vlc-devel mailing list