[vlc-devel] commit: The playlist is not lock for the moment. ( Rémi Duraffort )

git version control git at videolan.org
Fri Jul 18 19:31:42 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jul 18 19:25:56 2008 +0200| [ec32411a264bc201954be6dfeb71c9b8e4cf3eb9]

The playlist is not lock for the moment.

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

 modules/control/dbus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 20e796d..fd725a5 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -877,7 +877,7 @@ static int TrackListChangeEmit( vlc_object_t *p_this, const char *psz_var,
         playlist_t *p_playlist = (playlist_t*)p_this;
         playlist_add_t *p_add = newval.p_address;
         playlist_item_t *p_item;
-        p_item = playlist_ItemGetById( p_playlist, p_add->i_node, true );
+        p_item = playlist_ItemGetById( p_playlist, p_add->i_node, false );
         assert( p_item );
         while( p_item->p_parent )
             p_item = p_item->p_parent;




More information about the vlc-devel mailing list