[vlc-commits] playlist: fix error in [874efde6]

Jean-Baptiste Kempf git at videolan.org
Sun May 22 01:39:47 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 22 01:39:12 2011 +0200| [5fd932ae7ea37592e99d83adf5bf9c527e3395d3] | committer: Jean-Baptiste Kempf

playlist: fix error in [874efde6]

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

 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 faf3191..29940fc 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -126,7 +126,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
                                                  pos,
                                                  b_flat );
 
-    if( !b_flat ) var_SetAddress( p_playlist, "leaf-to-parent", p_item->i_id );
+    if( !b_flat ) var_SetInteger( p_playlist, "leaf-to-parent", p_item->i_id );
 
     //control playback only if it was the current playing item that got subitems
     if( b_current )



More information about the vlc-commits mailing list