summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-19 16:15:05 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-19 16:15:05 +0000
commitf41cff8360c04295297cd6eef430a4055345b399 (patch)
tree12852b8b0cf4ca34482ed80c02f0315a0d741708 /mplayer.c
parent33f5c28a3e55cf2fa2c2ccbc44bb4200135772ba (diff)
downloadmpv-f41cff8360c04295297cd6eef430a4055345b399.tar.bz2
mpv-f41cff8360c04295297cd6eef430a4055345b399.tar.xz
new slave command: radio_step_freq
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21058 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 704e0662eb..0220feda16 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -5025,6 +5025,11 @@ if(step_sec>0) {
if (demuxer->stream->type== STREAMTYPE_RADIO)
radio_set_freq(demuxer->stream, cmd->args[0].v.f);
} break;
+ case MP_CMD_RADIO_STEP_FREQ :
+ if (demuxer->stream->type == STREAMTYPE_RADIO){
+ radio_step_freq(demuxer->stream, cmd->args[0].v.f);
+ }
+ break;
#endif
#ifdef USE_TV
case MP_CMD_TV_SET_FREQ : {