rtpav1depay: Fix depayloading of packets starting with a leading OBU fragment followed by more OBUs

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/288

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1072>
This commit is contained in:
Sebastian Dröge 2023-02-02 18:19:33 +02:00
parent 1756d7a516
commit 49350f738f

View file

@ -282,6 +282,8 @@ impl RTPAv1Depay {
)?; )?;
state.obu_fragment = None; state.obu_fragment = None;
} }
idx += 1;
} }
// handle other OBUs, including trailing fragments // handle other OBUs, including trailing fragments