[MPlayer-G2-dev] stream layer question

Arpi arpi at thot.banki.hu
Thu May 15 12:17:33 CEST 2003


Hi,

> it seems that the stream layer has the same structure as the new api in 
> g1, in particular this;
> 
> #define STREAM_BUFFER_SIZE 2048

this is default only, you can override

> I wonder if it's feasible to add a parameter to stream_t: stream_stride, 
> to indicate the preferred read() size.

s->buffer_size=8192;

see stream_http.c for example, it prefers 4kB buffers.

> It's particularly useful for DVB (which has better read in 8K chunks, if 
> you don't want to receive tons of buffer overflows),
> but even more so if in the future there will be support for HDTV cards 
> (which surely need at least 64K stride).
> 
> Or maybe it's already possible? :)

of couse :)


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-G2-dev mailing list