Mercurial > mplayer.hg
comparison command.c @ 22667:e1859558b37d
New slave command: tv_step_freq <offset in MHz>
Command sets the TV frequency relative to current value
author | voroshil |
---|---|
date | Sat, 17 Mar 2007 11:51:17 +0000 |
parents | b6aa3eedf49b |
children | 17bf4f4b0715 |
comparison
equal
deleted
inserted
replaced
22666:51e2dfc6aeb6 | 22667:e1859558b37d |
---|---|
1936 | 1936 |
1937 #ifdef USE_TV | 1937 #ifdef USE_TV |
1938 case MP_CMD_TV_SET_FREQ: | 1938 case MP_CMD_TV_SET_FREQ: |
1939 if (mpctx->file_format == DEMUXER_TYPE_TV) | 1939 if (mpctx->file_format == DEMUXER_TYPE_TV) |
1940 tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv), | 1940 tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv), |
1941 cmd->args[0].v.f * 16.0); | |
1942 break; | |
1943 | |
1944 case MP_CMD_TV_STEP_FREQ: | |
1945 if (mpctx->file_format == DEMUXER_TYPE_TV) | |
1946 tv_step_freq((tvi_handle_t *) (mpctx->demuxer->priv), | |
1941 cmd->args[0].v.f * 16.0); | 1947 cmd->args[0].v.f * 16.0); |
1942 break; | 1948 break; |
1943 | 1949 |
1944 case MP_CMD_TV_SET_NORM: | 1950 case MP_CMD_TV_SET_NORM: |
1945 if (mpctx->file_format == DEMUXER_TYPE_TV) | 1951 if (mpctx->file_format == DEMUXER_TYPE_TV) |