Commit 71bd386b authored by Laurent Aimar's avatar Laurent Aimar

Use FIND_CHILD for zvbi in qt4.

parent 179d42c3
...@@ -484,7 +484,7 @@ void InputManager::UpdateTeletext() ...@@ -484,7 +484,7 @@ void InputManager::UpdateTeletext()
bool b_transparent = false; bool b_transparent = false;
vlc_object_t *p_vbi = (vlc_object_t *) 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 ) if( p_vbi )
{ {
...@@ -695,7 +695,7 @@ void InputManager::telexSetPage( int page ) ...@@ -695,7 +695,7 @@ void InputManager::telexSetPage( int page )
if( i_teletext_es >= 0 ) if( i_teletext_es >= 0 )
{ {
vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input, vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input,
"zvbi", FIND_ANYWHERE ); "zvbi", FIND_CHILD );
if( p_vbi ) if( p_vbi )
{ {
var_SetInteger( p_vbi, "vbi-page", page ); var_SetInteger( p_vbi, "vbi-page", page );
...@@ -712,7 +712,7 @@ void InputManager::telexSetTransparency( bool b_transparentTelextext ) ...@@ -712,7 +712,7 @@ void InputManager::telexSetTransparency( bool b_transparentTelextext )
if( hasInput() ) if( hasInput() )
{ {
vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input, vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_find_name( p_input,
"zvbi", FIND_ANYWHERE ); "zvbi", FIND_CHILD );
if( p_vbi ) if( p_vbi )
{ {
var_SetBool( p_vbi, "vbi-opaque", !b_transparentTelextext ); var_SetBool( p_vbi, "vbi-opaque", !b_transparentTelextext );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment