mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
rtph263pdepay: Enabled header extension aggregation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5378>
This commit is contained in:
parent
4fd4c240e0
commit
ae3a00abd2
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue