comparison 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
comparison
equal deleted inserted replaced
24243:aeffa880c7d6 24244:e446bad0872c
2450 tvi_handle_t* tvh=(tvi_handle_t *)(mpctx->demuxer->priv); 2450 tvi_handle_t* tvh=(tvi_handle_t *)(mpctx->demuxer->priv);
2451 if (mpctx->file_format == DEMUXER_TYPE_TV) 2451 if (mpctx->file_format == DEMUXER_TYPE_TV)
2452 tvh->functions->control(tvh->priv,TV_VBI_CONTROL_ADD_DEC,&(cmd->args[0].v.s)); 2452 tvh->functions->control(tvh->priv,TV_VBI_CONTROL_ADD_DEC,&(cmd->args[0].v.s));
2453 break; 2453 break;
2454 } 2454 }
2455 case MP_CMD_TV_TELETEXT_GO_LINK:
2456 {
2457 tvi_handle_t* tvh=(tvi_handle_t *)(mpctx->demuxer->priv);
2458 if (mpctx->file_format == DEMUXER_TYPE_TV)
2459 tvh->functions->control(tvh->priv,TV_VBI_CONTROL_GO_LINK,&(cmd->args[0].v.i));
2460 break;
2461 }
2455 #endif /* HAVE_TV_TELETEXT */ 2462 #endif /* HAVE_TV_TELETEXT */
2456 #endif /* USE_TV */ 2463 #endif /* USE_TV */
2457 2464
2458 case MP_CMD_SUB_LOAD: 2465 case MP_CMD_SUB_LOAD:
2459 if (sh_video) { 2466 if (sh_video) {