[vlc-devel] commit: Removed one vlc_object_find_name() in qt4. (Laurent Aimar )

git version control git at videolan.org
Sun Jan 31 12:23:44 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jan 31 02:04:48 2010 +0100| [f194162400835da5e3920a36c346187d9e66c6c4] | committer: Laurent Aimar 

Removed one vlc_object_find_name() in qt4.

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

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

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 7a52783..ecf55e4 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -516,8 +516,9 @@ void InputManager::UpdateTeletext()
                 var_DelCallback( p_input_vbi, "vbi-page", VbiEvent, this );
                 vlc_object_release( p_input_vbi );
             }
-            p_input_vbi = (vlc_object_t *)
-                vlc_object_find_name( p_input, "zvbi", FIND_CHILD );
+
+            if( input_GetEsObjects( p_input, i_teletext_es, &p_input_vbi, NULL, NULL ) )
+                p_input_vbi = NULL;
 
             if( p_input_vbi )
             {




More information about the vlc-devel mailing list