rtpav1depay: Don't push stale temporal delimiters downstream

Only push them downstream once a complete OBU was assembled.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1387>
This commit is contained in:
Sebastian Dröge 2023-10-23 22:39:12 +03:00
parent 7bb6f0265c
commit 7d2e849bbe

View file

@ -353,7 +353,7 @@ impl RTPAv1Depay {
}
// now push all the complete OBUs
let buffer = if !ready_obus.is_empty() {
let buffer = if !ready_obus.is_empty() && ready_obus != TEMPORAL_DELIMITER {
gst::log!(
CAT,
imp: self,