[vlc-devel] commit: The playlist is locked here : should fix #1751 (patch by marcolz) ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 24 18:54:13 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 24 18:55:54 2008 +0200| [3b07cce3ba8ef496b922ba146a0109d541b825a4]

The playlist is locked here : should fix #1751 (patch by marcolz)

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

 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 abb58fa..4929463 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, pl_Unlocked );
+        p_item = playlist_ItemGetById( p_playlist, p_add->i_node, pl_Locked );
         assert( p_item );
         while( p_item->p_parent )
             p_item = p_item->p_parent;




More information about the vlc-devel mailing list