[vlc-devel] commit: Avoid deadlocking: refs #1566 ( Rafaël Carré )

git version control git at videolan.org
Mon May 5 21:58:51 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon May  5 22:00:34 2008 +0200| [2ff00958881a01801c745a741f64db3679217d83]

Avoid deadlocking: refs #1566

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

 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 43ee28b..481d615 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -912,7 +912,7 @@ static int StateChange( vlc_object_t *p_this, const char* psz_var,
     if( p_intf->b_dead )
         return VLC_SUCCESS;
 
-    UpdateCaps( p_intf, false );
+    UpdateCaps( p_intf, true );
 
     if( !p_sys->b_meta_read && newval.i_int == PLAYING_S )
     {




More information about the vlc-devel mailing list