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

Alexander Strasser eclipse7 at gmx.net
Fri Nov 26 18:33:32 CET 2004


Reimar Döffinger wrote ( On Tue, Nov 23, 2004 at 09:49:11PM +0100 ):
> 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).

Worked good for me.
The code should also be more or less well tested.
I also had a quick look at the implementation and it seems to be ok.

  Alex (beastd)




More information about the MPlayer-dev-eng mailing list