[vlc-devel] commit: User FIND_CHILD for zvbi in libvlc. (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:42:30 2009 +0100| [1312fe718d8742dec1d01cef6209133d27a579c0] | committer: Laurent Aimar
User FIND_CHILD for zvbi in libvlc.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1312fe718d8742dec1d01cef6209133d27a579c0
---
src/control/video.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/control/video.c b/src/control/video.c
index af3710a..44eb252 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 )
More information about the vlc-devel
mailing list