From c4debc9042c9a52bbac5af585bf6e2a0b08ec7e5 Mon Sep 17 00:00:00 2001 From: voroshil Date: Tue, 28 Aug 2007 14:10:47 +0000 Subject: Implement X/27/0 packet decoding. It contains information about navigation links. Modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 610a4a7d77..97c646cc70 100644 --- a/command.c +++ b/command.c @@ -2452,6 +2452,13 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) tvh->functions->control(tvh->priv,TV_VBI_CONTROL_ADD_DEC,&(cmd->args[0].v.s)); break; } + case MP_CMD_TV_TELETEXT_GO_LINK: + { + tvi_handle_t* tvh=(tvi_handle_t *)(mpctx->demuxer->priv); + if (mpctx->file_format == DEMUXER_TYPE_TV) + tvh->functions->control(tvh->priv,TV_VBI_CONTROL_GO_LINK,&(cmd->args[0].v.i)); + break; + } #endif /* HAVE_TV_TELETEXT */ #endif /* USE_TV */ -- cgit v1.2.3