[vlc-devel] commit: Find correctly the Vout. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Aug 22 22:29:24 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 22 13:31:34 2008 -0700| [0fa3912f7fb95923b5fd7fc8af400d597d491b28] | committer: Jean-Baptiste Kempf 

Find correctly the Vout.

My error of using FIND_CHILD. Close #1771

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

 modules/gui/qt4/components/extended_panels.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 1d71c52..77cdc9b 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -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() );




More information about the vlc-devel mailing list