Remove one vlc_object_find usage.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 23 Feb 2009 20:42:25 +0000 (21:42 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 23 Feb 2009 20:47:03 +0000 (21:47 +0100)
modules/control/hotkeys.c

index 026293a..4f4ca9f 100644 (file)
@@ -192,7 +192,7 @@ static void Run( intf_thread_t *p_intf )
 
         /* Update the vout */
         p_last_vout = p_vout;
-        p_vout = vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
+        p_vout = input_GetVout( p_input );
 
         /* Register OSD channels */
         if( p_vout && p_vout != p_last_vout )