rtpvp9depay: detect incomplete frames and bail out
authorKnut Saastad <Knut@bitflow.io>
Wed, 14 Oct 2020 21:17:53 +0000 (23:17 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 30 Oct 2020 01:31:19 +0000 (01:31 +0000)
commitfa505867a9a98959f62c195df94719640221f42a
tree21105d169d0581b150b1e696c5cb7b111c904085
parentb22514d4697e6253b1b2bcad611cadd6c13f4689
rtpvp9depay: detect incomplete frames and bail out

If a packet with the B bit set arrives but we haven't received
a packet with the marker or E bits set to end the previous frame,
we know the current frame was incomplete.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/795>
gst/rtp/gstrtpvp8depay.c
gst/rtp/gstrtpvp8pay.c