[MPlayer-dev-eng] [PATCH] Use ringbuffer code instead of pipe for keyboard buffering

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Dec 1 13:24:15 CET 2004


Hi,
> this patch makes MPlayer always use the ringbuffer code it now already uses for
> e.g. Windows.
> It also add a commandline option that allows to specify how big that
> buffer should be (because MPlayer can take quite some time to process
> them, that's also why the default is 10).
> The manpage part is still missing (in case somebody wants to write one:
> in a ringbuffer of size n fit n-1 key events).

Applied (with minor change, do malloc only in case of put_key), and including manpage part.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list