From c9c26eab2600c9b8138fe28b67ffa128412a590c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 15 Dec 2023 21:52:03 +0200 Subject: [PATCH] rtpvp8pay: Also set partition IDs in the packets if meta exists but without temporal_scalability Encoders will add the meta to every single buffer, but we only cannot set partition IDs properly when the meta has temporal_scalability set Part-of: --- subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c index f2788310b6..af055a148a 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c @@ -626,7 +626,7 @@ gst_rtp_vp8_payload_next (GstRtpVP8Pay * self, GstBufferList * list, if (available > remaining) available = remaining; - if (meta) { + if (self->temporal_scalability_fields_present && meta) { /* If meta is present, then we have no partition offset information, * so always emit PID 0 and set the start bit for the first packet * of a frame only (c.f. RFC7741 $4.4)