aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-23 18:57:06 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-23 18:57:06 +0000
commitf06a98dc9faa2842f6183771bac73dde4a19ff0d (patch)
tree3f9da8298caa915f2bf631bd8a306f29f98f0c97
parent40a4d2586c9450a9c3bde86542801576f03ddc01 (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 4f375d2886..397870a705 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;