]> git.sesse.net Git - vlc/commitdiff
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 026293af1525ef5297034db1b0c18273fbd13d8f..4f4ca9f6eed544cb55962269820124bb7d679a92 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 )