]> git.sesse.net Git - vlc/commitdiff
Removed one vlc_object_find_name() in qt4.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 31 Jan 2010 01:04:48 +0000 (02:04 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 31 Jan 2010 11:21:55 +0000 (12:21 +0100)
modules/gui/qt4/input_manager.cpp

index 7a5278328c4cdf3523680a4fb8fa44f175a28b1b..ecf55e413e4b1e3eed391393fd84c213819f4a95 100644 (file)
@@ -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 )
             {