[vlc-devel] commit: Avoid a deadlock. (Mirsal Ennaime )

git version control git at videolan.org
Sun Apr 20 00:12:27 CEST 2008


vlc | branch: master | Mirsal Ennaime <mirsal.ennaime at gmail.com> | Sun Apr 20 00:05:16 2008 +0200| [d12c6644103185190099299e6e2be0290e7754e1]

Avoid a deadlock.

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

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

diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 9d4f0fb..5fafa0b 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -967,7 +967,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var,
     p_sys->b_meta_read = false;
 
     p_playlist = pl_Yield( p_intf );
-    PL_LOCK;
     p_input = p_playlist->p_input;
 
     if( !p_input )
@@ -978,7 +977,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var,
     }
 
     vlc_object_yield( p_input );
-    PL_UNLOCK;
     pl_Release( p_playlist );
 
     p_item = input_GetItem( p_input );




More information about the vlc-devel mailing list