tsdemux: Check the continuity counter for non-section packets too
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 11 Apr 2013 11:08:57 +0000 (13:08 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 11 Apr 2013 11:11:44 +0000 (13:11 +0200)
commit2713fd1058274e652ba162f22917bb155cf05598
tree26c53ac72b18fb361f0be7edb64e1a26cd6f4de0
parent2991e1ed488f2004121cdc9010e63747548636a3
tsdemux: Check the continuity counter for non-section packets too

And if we detect a discontinuity there (like... when losing packets
or having MPEGTS over raw UDP with out-of-order packets) we just
drop the corresponding packet.

A future version could try to implement a re-ordering algorithm based
on that, similar to what rtpjitterbuffer does.
gst/mpegtsdemux/tsdemux.c