Skip to content

tsdemux: Handle continuity mismatch in more cases

Edward Hervey requested to merge bilboed/gst-plugins-bad:tsdiscont into master

Packets of a given PID are meant to have sequential continuity counters (modulo 16). If there are not sequential, this is the sign of a broken stream, which we then consider as a discontinuity.

But if that new packet is a frame start (PUSI is true), then we can resume from that packet without any damage.

Merge request reports

Loading