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.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to