]> git.sesse.net Git - vlc/commitdiff
Find correctly the Vout.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Aug 2008 20:31:34 +0000 (13:31 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Aug 2008 20:31:34 +0000 (13:31 -0700)
My error of using FIND_CHILD. Close #1771

modules/gui/qt4/components/extended_panels.cpp

index 1d71c52e212d5d7ef358070d2c01a4b5228a8c42..77cdc9becd9864ef2a434c7cbfecdb619940eb70 100644 (file)
@@ -222,7 +222,7 @@ ExtVideo::~ExtVideo()
 void ExtVideo::cropChange()
 {
     p_vout = ( vout_thread_t * )vlc_object_find( p_intf,
-                                VLC_OBJECT_VOUT, FIND_CHILD );
+                                VLC_OBJECT_VOUT, FIND_ANYWHERE );
     if( p_vout )
     {
         var_SetInteger( p_vout, "crop-top", ui.cropTopPx->value() );