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/1367>
This commit is contained in:
Sebastian Dröge 2023-10-23 22:39:12 +03:00 committed by GStreamer Marge Bot
parent 1f5e9a9335
commit 829469d0fe

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,