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.
The current patch makes it return the incomplete frame and resync if I
read it correctly.
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 not sure about it, let's test with the following adaptation, Aviad
could you provide the samples or try yourself?
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel