Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] Re: buffering in the MPEX driver



Hi Andrew,

On Mon, 2004-05-10 at 15:15, Andrew de Quincey wrote:
[...]
> > Also, it seems to me that the current behaviour of read() on /dev/video1
> > is: "block until the driver's internal buffer (that seems to be 188 *
> > TS_NR_PACKETS bytes large) is full". I think that a more appropriate
> > behaviour would be: "block until the driver's internal buffer is full,
> > or until a packet containing the PCR enters the buffer". Is it possible
> > to implement such behaviour? If yes, where in the driver should I look?
> 
> Hmm, I only wrote the saa6752hs part of that driver. I'd suggest contacting 
> Gerd Knorr (kraxel@bytesex.org linux.bytesex.org) about changing that sort of 
> thing.
> 
> However, I'm under the impression that the read() interface is only one way of 
> reading data from a v4l2 device - I think theres an IOCTL interface as well, 
> which might give you more control over buffering etc (I might be wrong 
> though).
Ok, thanks. I'll try to post a question on the v4l mailing list.

			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





Home | Main Index | Thread Index