Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net/rtp
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-02-02 19:19:33 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-02-02 21:24:27 +0300
commit49350f738f9ff3bf4fd0dc508a729f1ccb151473 (patch)
treeb653763da73062e8e5f3e2ac11f7f3472e1a1855 /net/rtp
parent1756d7a5169a3872cad02d7fe80a831913942b32 (diff)
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>
Diffstat (limited to 'net/rtp')
-rw-r--r--net/rtp/src/av1/depay/imp.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rtp/src/av1/depay/imp.rs b/net/rtp/src/av1/depay/imp.rs
index b9b0ba3d..59cb2021 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