Mercurial > mplayer.hg
changeset 13743:5a999bdc0534
100l for playback speed changing in audio-only case
author | reimar |
---|---|
date | Sat, 23 Oct 2004 18:57:06 +0000 |
parents | ea5640a93a13 |
children | d66e3d5865b8 |
files | mplayer.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sat Oct 23 18:40:25 2004 +0000 +++ b/mplayer.c Sat Oct 23 18:57:06 2004 +0000 @@ -2623,18 +2623,21 @@ 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;