[vlc-commits] dbus: Fix copy-paste error

Mirsal Ennaime git at videolan.org
Wed Oct 23 00:17:36 CEST 2013


vlc | branch: master | Mirsal Ennaime <mirsal at videolan.org> | Tue Oct 22 16:31:29 2013 +0200| [af1a7a9501c54ac59b14557c5972a1f6d0bc1a20] | committer: Mirsal Ennaime

dbus: Fix copy-paste error

(Coverity report 1100848)

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

 modules/control/dbus/dbus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/dbus/dbus.c b/modules/control/dbus/dbus.c
index 1b760c9..ff13256 100644
--- a/modules/control/dbus/dbus.c
+++ b/modules/control/dbus/dbus.c
@@ -528,7 +528,7 @@ static void ProcessEvents( intf_thread_t *p_intf,
             TrackChange( p_intf );
 
             // rate depends on current item
-            if( !vlc_dictionary_has_key( &tracklist_properties, "Rate" ) )
+            if( !vlc_dictionary_has_key( &player_properties, "Rate" ) )
                 vlc_dictionary_insert( &player_properties, "Rate", NULL );
 
             vlc_dictionary_insert( &player_properties, "Metadata", NULL );



More information about the vlc-commits mailing list