[MPlayer-G2-dev] stream layer question

Nico nsabbi at libero.it
Thu May 15 11:38:18 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

I wonder if it's feasible to add a parameter to stream_t: stream_stride, 
to indicate the preferred read() size.
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? :)

Thanks,
        Nico






More information about the MPlayer-G2-dev mailing list