mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
rtp: av1pay: Correctly skip over ignored OBUs
The reader is already after the header at this point so only the OBU content has to be skipped. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1624>
This commit is contained in:
parent
bbe38b9599
commit
5cd9e34265
1 changed files with 1 additions and 3 deletions
|
@ -131,9 +131,7 @@ impl RTPAv1Pay {
|
|||
ObuType::TileList | ObuType::Padding => {
|
||||
gst::log!(CAT, imp: self, "ignoring {:?} OBU", obu.obu_type);
|
||||
reader
|
||||
.seek(SeekFrom::Current(
|
||||
(obu.header_len + obu.leb_size + obu.size) as i64,
|
||||
))
|
||||
.seek(SeekFrom::Current(obu.size as i64))
|
||||
.map_err(err_flow!(self, buf_read))?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue