[Mplayer-cvslog] CVS: main mplayer.c,1.798,1.799
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sat Oct 23 20:57:08 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv16882
Modified Files:
mplayer.c
Log Message:
100l for playback speed changing in audio-only case
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.798
retrieving revision 1.799
diff -u -r1.798 -r1.799
--- mplayer.c 23 Oct 2004 18:40:25 -0000 1.798
+++ mplayer.c 23 Oct 2004 18:57:06 -0000 1.799
@@ -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;
More information about the MPlayer-cvslog
mailing list