Mercurial > mplayer.hg
diff command.c @ 24105:9e71e0345c35
Automatic TV channels scanning ability for MPlayer.
Code is based on patch from Otvos Attila oattila at chello dot hu
| author | voroshil |
|---|---|
| date | Thu, 23 Aug 2007 16:09:30 +0000 |
| parents | b5cc28c45d73 |
| children | 2ae4c179ea25 |
line wrap: on
line diff
--- a/command.c Thu Aug 23 14:20:31 2007 +0000 +++ b/command.c Thu Aug 23 16:09:30 2007 +0000 @@ -2287,6 +2287,10 @@ #endif #ifdef USE_TV + case MP_CMD_TV_START_SCAN: + if (mpctx->file_format == DEMUXER_TYPE_TV) + tv_start_scan((tvi_handle_t *) (mpctx->demuxer->priv),1); + break; case MP_CMD_TV_SET_FREQ: if (mpctx->file_format == DEMUXER_TYPE_TV) tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv),
