[vlc-devel] commit: Use FIND_CHILD for zvbi in qt4. (Laurent Aimar )

git version control git at videolan.org
Sat Feb 14 15:39:27 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb 14 14:41:49 2009 +0100| [71bd386bd03713516b35b47107bb84dc4d013ac6] | committer: Laurent Aimar 

Use FIND_CHILD for zvbi in qt4.

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

 modules/gui/qt4/input_manager.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 95857c6..47ff756 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -484,7 +484,7 @@ void InputManager::UpdateTeletext()
             bool b_transparent = false;
 
             vlc_object_t *p_vbi = (vlc_object_t *)
-                vlc_object_find_name( p_input, "zvbi", FIND_ANYWHERE );
+                vlc_object_find_name( p_input, "zvbi", FIND_CHILD );
 
             if( p_vbi )
             {
@@ -695,7 +695,7 @@ void InputManager::telexSetPage( int page )
         if( i_teletext_es >= 0 )
         {
             vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input,
-                        "zvbi", FIND_ANYWHERE );
+                        "zvbi", FIND_CHILD );
             if( p_vbi )
             {
                 var_SetInteger( p_vbi, "vbi-page", page );
@@ -712,7 +712,7 @@ void InputManager::telexSetTransparency( bool b_transparentTelextext )
     if( hasInput() )
     {
         vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input,
-                    "zvbi", FIND_ANYWHERE );
+                    "zvbi", FIND_CHILD );
         if( p_vbi )
         {
             var_SetBool( p_vbi, "vbi-opaque", !b_transparentTelextext );




More information about the vlc-devel mailing list