[MPlayer-cvslog] r21028 - trunk/mplayer.c
uau
subversion at mplayerhq.hu
Sat Nov 18 16:50:31 CET 2006
Author: uau
Date: Sat Nov 18 16:50:31 2006
New Revision: 21028
Modified:
trunk/mplayer.c
Log:
When changing playback speed write the current speed to OSD only after
build_afilter_chain() which can alter the value.
(Though I'm not sure whether the current limits in build_afilter_chain
are necessary or correct.)
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Sat Nov 18 16:50:31 2006
@@ -4822,20 +4822,20 @@
case MP_CMD_SPEED_INCR : {
float v = cmd->args[0].v.f;
playback_speed += v;
- set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
build_afilter_chain(sh_audio, &ao_data);
+ set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
} break;
case MP_CMD_SPEED_MULT : {
float v = cmd->args[0].v.f;
playback_speed *= v;
- set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
build_afilter_chain(sh_audio, &ao_data);
+ set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
} break;
case MP_CMD_SPEED_SET : {
float v = cmd->args[0].v.f;
playback_speed = v;
- set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
build_afilter_chain(sh_audio, &ao_data);
+ set_osd_msg(OSD_MSG_SPEED,1,osd_duration,MSGTR_OSDSpeed, playback_speed);
} break;
case MP_CMD_FRAME_STEP :
case MP_CMD_PAUSE : {
More information about the MPlayer-cvslog
mailing list