Commit f5bd90eb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DBus: ifdef buggy input code out

parent 707aac4d
...@@ -780,13 +780,14 @@ static void Close ( vlc_object_t *p_this ) ...@@ -780,13 +780,14 @@ static void Close ( vlc_object_t *p_this )
var_DelCallback( p_playlist, "repeat", AllCallback, p_intf ); var_DelCallback( p_playlist, "repeat", AllCallback, p_intf );
var_DelCallback( p_playlist, "loop", AllCallback, p_intf ); var_DelCallback( p_playlist, "loop", AllCallback, p_intf );
p_input = playlist_CurrentInput( p_playlist ); #if 0.
p_input = ???;
if ( p_input ) if ( p_input )
{ {
var_DelCallback( p_input, "state", AllCallback, p_intf ); var_DelCallback( p_input, "state", AllCallback, p_intf );
vlc_object_release( p_input ); vlc_object_release( p_input );
} }
#endif
dbus_connection_unref( p_sys->p_conn ); dbus_connection_unref( p_sys->p_conn );
// Free the events array // Free the events array
...@@ -1085,9 +1086,9 @@ static int TrackChange( intf_thread_t *p_intf ) ...@@ -1085,9 +1086,9 @@ static int TrackChange( intf_thread_t *p_intf )
TrackChangeSignal( p_sys->p_conn, p_item ); TrackChangeSignal( p_sys->p_conn, p_item );
} }
#if 0
var_AddCallback( p_input, "state", AllCallback, p_intf ); var_AddCallback( p_input, "state", AllCallback, p_intf );
#endif
vlc_object_release( p_input );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment