From af0e6281d2ab197579bb5260cbb07e07d9320828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 2 Feb 2023 18:19:33 +0200 Subject: [PATCH] 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: --- net/rtp/src/av1/depay/imp.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/rtp/src/av1/depay/imp.rs b/net/rtp/src/av1/depay/imp.rs index 6508fb9f..ab2eb423 100644 --- a/net/rtp/src/av1/depay/imp.rs +++ b/net/rtp/src/av1/depay/imp.rs @@ -282,6 +282,8 @@ impl RTPAv1Depay { )?; state.obu_fragment = None; } + + idx += 1; } // handle other OBUs, including trailing fragments