rtph263depay: Enabled header extensions aggregation

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5378>
This commit is contained in:
Jochen Henneberg 2023-09-04 17:29:32 +02:00 committed by GStreamer Marge Bot
parent ae5bdaa7e1
commit 4fd4c240e0

View file

@ -126,6 +126,9 @@ gst_rtp_h263_depay_init (GstRtpH263Depay * rtph263depay)
rtph263depay->offset = 0; rtph263depay->offset = 0;
rtph263depay->leftover = 0; rtph263depay->leftover = 0;
gst_rtp_base_depayload_set_aggregate_hdrext_enabled (GST_RTP_BASE_DEPAYLOAD
(rtph263depay), TRUE);
} }
static void static void
@ -407,6 +410,7 @@ too_small:
{ {
GST_ELEMENT_WARNING (rtph263depay, STREAM, DECODE, GST_ELEMENT_WARNING (rtph263depay, STREAM, DECODE,
("Packet payload was too small"), (NULL)); ("Packet payload was too small"), (NULL));
gst_rtp_base_depayload_dropped (depayload);
return NULL; return NULL;
} }
} }