[MPlayer-dev-eng] [PATCH] switch audio delay keys
Diego Biurrun
diego at biurrun.de
Tue Apr 4 09:05:31 CEST 2006
After Uoti Urpala's mail I've stumbled over the fact that the keys that
set audio delay are backwards from what is documented...
man page:
+ and -
Adjust audio delay by +/- 0.1 seconds.
code:
{ { '-', 0 }, "audio_delay 0.100" },
{ { '+', 0 }, "audio_delay -0.100" },
So I suggest the attached patch to bring this in line with the
documentation. Increasing the delay with '+' and decreasing it with '-'
is the only sane way...
Diego
-------------- next part --------------
Index: input/input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.135
diff -u -r1.135 input.c
--- input/input.c 24 Mar 2006 19:32:23 -0000 1.135
+++ input/input.c 4 Apr 2006 07:01:46 -0000
@@ -304,8 +304,8 @@
{ { KEY_DOWN, 0 }, "seek -60" },
{ { KEY_PAGE_UP, 0 }, "seek 600" },
{ { KEY_PAGE_DOWN, 0 }, "seek -600" },
- { { '-', 0 }, "audio_delay 0.100" },
- { { '+', 0 }, "audio_delay -0.100" },
+ { { '+', 0 }, "audio_delay 0.100" },
+ { { '-', 0 }, "audio_delay -0.100" },
{ { '[', 0 }, "speed_mult 0.9091" },
{ { ']', 0 }, "speed_mult 1.1" },
{ { '{', 0 }, "speed_mult 0.5" },
More information about the MPlayer-dev-eng
mailing list