Mercurial > mplayer.hg
diff command.c @ 24244:e446bad0872c
Implement X/27/0 packet decoding.
It contains information about navigation links.
Modified patch from Otvos Attila oattila at chello dot hu
| author | voroshil |
|---|---|
| date | Tue, 28 Aug 2007 14:10:47 +0000 |
| parents | 76f5d8892c04 |
| children | aad0f4a495ab |
line wrap: on
line diff
--- a/command.c Tue Aug 28 13:54:27 2007 +0000 +++ b/command.c Tue Aug 28 14:10:47 2007 +0000 @@ -2452,6 +2452,13 @@ 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 */
