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

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Tue Nov 23 22:35:10 CET 2004


On Tue, 23 Nov 2004, Reimar D?ffinger wrote:

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

It works great, thanks! The default value of 10 gives some bad effects,
though, especially on sluggish seeking - for example, when playing from
CD or in mpeg files (result of "mpeg seeking correction" patch ;), but
setting it to 2 makes the control excellent.

-- 

Vladimir




More information about the MPlayer-dev-eng mailing list