diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-23 18:57:06 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-23 18:57:06 +0000 |
commit | f06a98dc9faa2842f6183771bac73dde4a19ff0d (patch) | |
tree | 3f9da8298caa915f2bf631bd8a306f29f98f0c97 | |
parent | 40a4d2586c9450a9c3bde86542801576f03ddc01 (diff) |
100l for playback speed changing in audio-only case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13744 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2623,18 +2623,21 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) case MP_CMD_SPEED_INCR : { float v = cmd->args[0].v.f; playback_speed += v; + if (sh_video) osd_show_speed = sh_video->fps; build_afilter_chain(sh_audio, &ao_data); } break; case MP_CMD_SPEED_MULT : { float v = cmd->args[0].v.f; playback_speed *= v; + if (sh_video) osd_show_speed = sh_video->fps; build_afilter_chain(sh_audio, &ao_data); } break; case MP_CMD_SPEED_SET : { float v = cmd->args[0].v.f; playback_speed = v; + if (sh_video) osd_show_speed = sh_video->fps; build_afilter_chain(sh_audio, &ao_data); } break; |