From ae3a00abd2701fb5f9d8c20d97046287ea6202ac Mon Sep 17 00:00:00 2001 From: Jochen Henneberg Date: Mon, 4 Sep 2023 17:30:31 +0200 Subject: [PATCH] rtph263pdepay: Enabled header extension aggregation Part-of: --- subprojects/gst-plugins-good/gst/rtp/gstrtph263pdepay.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtph263pdepay.c b/subprojects/gst-plugins-good/gst/rtp/gstrtph263pdepay.c index 8b371ba92f..bee74f8822 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtph263pdepay.c +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtph263pdepay.c @@ -134,6 +134,9 @@ static void gst_rtp_h263p_depay_init (GstRtpH263PDepay * rtph263pdepay) { rtph263pdepay->adapter = gst_adapter_new (); + + gst_rtp_base_depayload_set_aggregate_hdrext_enabled (GST_RTP_BASE_DEPAYLOAD + (rtph263pdepay), TRUE); } static void @@ -447,16 +450,19 @@ too_small: { GST_ELEMENT_WARNING (rtph263pdepay, STREAM, DECODE, ("Packet payload was too small"), (NULL)); + gst_rtp_base_depayload_dropped (depayload); return NULL; } waiting_start: { GST_DEBUG_OBJECT (rtph263pdepay, "waiting for picture start"); + gst_rtp_base_depayload_dropped (depayload); return NULL; } empty_frame: { GST_WARNING_OBJECT (rtph263pdepay, "Depayloaded frame is empty, dropping"); + gst_rtp_base_depayload_dropped (depayload); return NULL; } }