[vlc-devel] commit: Remove one vlc_object_find usage. (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Feb 23 21:48:00 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Feb 23 21:42:25 2009 +0100| [bb2ce27e431e13f1bdf0f51ef1b574ad5ec6e202] | committer: Jean-Baptiste Kempf 

Remove one vlc_object_find usage.

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

 modules/control/hotkeys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 026293a..4f4ca9f 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -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 )




More information about the vlc-devel mailing list