ceaccoverlay: closed caption packets are processed in the wrong order
Sample file:
http://streams.videolan.org/streams/ts/Closed%20Caption%20EIA.ts
Pipeline:
gst-launch-1.0 -v filesrc location=ClosedCaptionEIA.ts ! tsdemux ! mpegvideoparse ! ccextractor name=ce ! queue ! avdec_mpeg2video ! deinterlace ! videoconvert ! cc708overlay name=o ! gtksink ce. ! queue ! o.
CCs are 608 in this example, so they are not rendered by the current master branch, but the packets themselves are out of order.
CCs can be viewed using this branch:
https://gitlab.freedesktop.org/boxerab/gst-plugins-bad/tree/571_cea608
VLC will play the CCs in the correct order.