mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-28 22:41:02 +00:00
rtpbasedepay2: fix reference timestamp meta duplicates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1890>
This commit is contained in:
parent
cdaee85a19
commit
0df2b72ff2
1 changed files with 1 additions and 1 deletions
|
@ -335,13 +335,13 @@ impl RtpBaseDepay2 {
|
||||||
|
|
||||||
// Copy over metas and other metadata from the packets that made up this buffer
|
// Copy over metas and other metadata from the packets that made up this buffer
|
||||||
let obj = self.obj();
|
let obj = self.obj();
|
||||||
|
let mut reference_timestamp_metas = BTreeMap::new();
|
||||||
for front in state
|
for front in state
|
||||||
.pending_packets
|
.pending_packets
|
||||||
.iter()
|
.iter()
|
||||||
.take_while(|p| p.ext_seqnum <= ext_seqnum)
|
.take_while(|p| p.ext_seqnum <= ext_seqnum)
|
||||||
{
|
{
|
||||||
// Filter out reference timestamp metas that have the same timestamps
|
// Filter out reference timestamp metas that have the same timestamps
|
||||||
let mut reference_timestamp_metas = BTreeMap::new();
|
|
||||||
|
|
||||||
front.buffer.foreach_meta(|meta| {
|
front.buffer.foreach_meta(|meta| {
|
||||||
use std::ops::ControlFlow::*;
|
use std::ops::ControlFlow::*;
|
||||||
|
|
Loading…
Reference in a new issue