]> git.sesse.net Git - vlc/commitdiff
dbus: Fix the tracklist's PropertyChanged signal
authorMirsal Ennaime <mirsal@mirsal.fr>
Tue, 7 Jun 2011 16:14:16 +0000 (18:14 +0200)
committerMirsal Ennaime <mirsal@mirsal.fr>
Tue, 7 Jun 2011 18:07:20 +0000 (20:07 +0200)
modules/control/dbus/dbus.c
modules/control/dbus/dbus_tracklist.c

index a6d6b90dabe97f16e219391f5534077c1bf2d026..d27590e0221d3d1c89c04442975eee06092b603b 100644 (file)
@@ -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 );
index d8e6e0863bb3a4ae9e70259ed142b1b2b0d9fcc3..c408845dab123fdc45e8f2c574ef090388e1344b 100644 (file)
@@ -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 );