[vlc-devel] commit: DBus: ifdef buggy input code out ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Feb 9 22:34:20 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb  9 23:34:00 2010 +0200| [f5bd90eb0e568b340a2809337a5b0b3e56e463e6] | committer: Rémi Denis-Courmont 

DBus: ifdef buggy input code out

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

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

diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 4e8dbae..a2065cf 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -780,13 +780,14 @@ static void Close   ( vlc_object_t *p_this )
     var_DelCallback( p_playlist, "repeat", AllCallback, p_intf );
     var_DelCallback( p_playlist, "loop", AllCallback, p_intf );
 
-    p_input = playlist_CurrentInput( p_playlist );
+#if 0.
+    p_input = ???;
     if ( p_input )
     {
         var_DelCallback( p_input, "state", AllCallback, p_intf );
         vlc_object_release( p_input );
     }
-
+#endif
     dbus_connection_unref( p_sys->p_conn );
 
     // Free the events array
@@ -1085,9 +1086,9 @@ static int TrackChange( intf_thread_t *p_intf )
         TrackChangeSignal( p_sys->p_conn, p_item );
     }
 
+#if 0
     var_AddCallback( p_input, "state", AllCallback, p_intf );
-
-    vlc_object_release( p_input );
+#endif
     return VLC_SUCCESS;
 }
 




More information about the vlc-devel mailing list