rtpvp9depay: detect incomplete frames and bail out
authorKnut Saastad <Knut@bitflow.io>
Wed, 14 Oct 2020 21:17:53 +0000 (23:17 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 29 Oct 2020 18:56:07 +0000 (19:56 +0100)
commitb22514d4697e6253b1b2bcad611cadd6c13f4689
treea75f69f4dbd919c173fb18a113803d7ad7fa487e
parent346b077ae0955c24f4f841cef399735b80231cda
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/769>
gst/rtp/gstrtpvp9depay.c