rtph264depay: Preserve SPS/PPS arrival order.
authorJan Schmidt <jan@centricular.com>
Tue, 20 Oct 2020 12:22:36 +0000 (23:22 +1100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 29 Oct 2020 14:09:21 +0000 (14:09 +0000)
commitb066441e213290adce5dd08440175b5faee0ea70
treed15ba51051b3f2e414549fc38c8aa9d14ba000c7
parent2623404744448cf72735afac42fa40503951b648
rtph264depay: Preserve SPS/PPS arrival order.

Even if SPS/PPS haven't changed, make sure to move them to the
end of the tracking array if needed, so we always know what the
most recent entries are, in case we need to discard the oldest
when generating codec_data.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/775>
gst/rtp/gstrtph264depay.c