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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5814>
This commit is contained in:
Sebastian Dröge 2023-12-15 21:52:03 +02:00 committed by GStreamer Marge Bot
parent e2ee207367
commit c9c26eab26

View file

@ -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)