On 6/24/11 4:38 AM, Måns Rullgård wrote:
Luca Barbato<[email protected]>  writes:

If the Continuity Check fails drop the whole packet

That's a bit harsh.  There may still be useful data in the parts present.
Consider the situation of a lost TS packet near the end of a frame (not
necessarily end of a PES packet).  The decoder will probably skip to the
next frame header and resume decoding normally there.  By dropping the
entire PES packet, the damage is propagated until the _next_ frame starts.


I'm unsure as well, apparently dropping the pes packet entirely results in a better video in most cases.

Possibly I'd make an avoption for it so we can have both.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to