Commit 1d43feaa authored by Mirsal Ennaime's avatar Mirsal Ennaime

dbus: Fix the tracklist's PropertyChanged signal

parent cfcb63c3
......@@ -632,7 +632,7 @@ static void ProcessEvents( intf_thread_t *p_intf,
PlayerPropertiesChangedEmit( p_intf, &player_properties );
if( vlc_dictionary_keys_count( &tracklist_properties ) )
TrackListPropertiesChangedEmit( p_intf, &player_properties );
TrackListPropertiesChangedEmit( p_intf, &tracklist_properties );
vlc_dictionary_clear( &player_properties, NULL, NULL );
vlc_dictionary_clear( &tracklist_properties, NULL, NULL );
......
......@@ -388,7 +388,8 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
for( int i = 0; i < i_properties; i++ )
if( !strcmp( ppsz_properties[i], "Tracks" ) )
dbus_message_iter_append_basic( &entry, DBUS_TYPE_STRING,
dbus_message_iter_append_basic( &invalidated_properties,
DBUS_TYPE_STRING,
&ppsz_properties[i] );
dbus_message_iter_close_container( &args, &invalidated_properties );
......
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