Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Bug in software demux still in 2.6.10
On Tue, Jan 04, 2005 at 03:46:29PM +0100, Valsecchi Patrick wrote:
> Hello,
>
> That won't work in every case. Immagine the first two packets you get are:
> - middle of section A (no PUSI)
> - end of section A and start of section B (with PUSI pointing to the start of the second section)
>
> In this case, with your patch, you'll receive a garbage section consisting of the end of section A. Basically because tsfeedp is incemented and the use=0 condition is not raised when the second packet arrives.
I see!
>
> If you want to go this way, I think "use" should be in the feed stucture. It should not be a paramater. You initialize it to 0 when the demux is started and you put it to one as soon as you see a PUSI.
Let's take the feed->use approach, I'll construct a patch
Home |
Main Index |
Thread Index