[FFmpeg-devel] [PATCH] ffplay: Add 10 minute seek support

Marton Balint cus at passwd.hu
Wed Dec 14 00:07:36 CET 2011



On Tue, 13 Dec 2011, Takis Issaris wrote:

> Hi,
>
> 2011/12/13 compn <tempn at twmi.rr.com>:
>> On Tue, 13 Dec 2011 16:14:40 +0100, Takis Issaris wrote:
>>>
>>> Hi,
>>>
>>> A simple patch I am using locally to ease testing seeking using ffplay.
>>>

[...]

+            case SDLK_PAGEUP:
+                incr = -600.0;
+                goto do_seek;
+            case SDLK_PAGEDOWN:
+                incr = 600.0;
+                goto do_seek;

Isn't mplayer using the opposite by default? E.g seek forward on PgUp, and 
seek backward on PgDown. Also this is not consistent with SDLK_UP and 
SDLK_DOWN, or the help text. If it is OK with you, then I will push this 
patch with the signs changed.

Regards,
Marton


More information about the ffmpeg-devel mailing list