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

Takis Issaris takis.issaris at uhasselt.be
Wed Dec 14 10:27:24 CET 2011


Hi Marton,

2011/12/14 Marton Balint <cus at passwd.hu>:
>
>
> 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.

Ah! That makes sense, now I know why I kept seeking backwards by mistake
all the time :-)


> 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.

Yes, sure, the signs should be changed.

>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>




Met vriendelijke groeten,
Takis


More information about the ffmpeg-devel mailing list