From 1312fe718d8742dec1d01cef6209133d27a579c0 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 14 Feb 2009 14:42:30 +0100 Subject: [PATCH] User FIND_CHILD for zvbi in libvlc. --- src/control/video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/control/video.c b/src/control/video.c index af3710a728..44eb252f8b 100644 --- a/src/control/video.c +++ b/src/control/video.c @@ -517,7 +517,7 @@ int libvlc_video_get_teletext( libvlc_media_player_t *p_mi, if( !p_vout ) return i_ret; p_vbi = (vlc_object_t *) vlc_object_find_name( p_vout, "zvbi", - FIND_ANYWHERE ); + FIND_CHILD ); if( p_vbi ) { i_ret = var_GetInteger( p_vbi, "vbi-page" ); @@ -538,7 +538,7 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page, if( !p_vout ) return; p_vbi = (vlc_object_t *) vlc_object_find_name( p_vout, "zvbi", - FIND_ANYWHERE ); + FIND_CHILD ); if( p_vbi ) { i_ret = var_SetInteger( p_vbi, "vbi-page", i_page ); @@ -568,7 +568,7 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi, const bool b_selected = var_GetInteger( p_input_thread, "teletext-es" ) >= 0; p_vbi = (vlc_object_t *)vlc_object_find_name( p_input_thread, "zvbi", - FIND_ANYWHERE ); + FIND_CHILD ); if( p_vbi ) { if( b_selected )