mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/rtp/gstrtph264depay.c: Error out on non-implemented stuff.
Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process): Error out on non-implemented stuff.
This commit is contained in:
parent
2207ced598
commit
5880332110
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-08-17 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):
|
||||||
|
Error out on non-implemented stuff.
|
||||||
|
|
||||||
2006-08-16 Wim Taymans <wim@fluendo.com>
|
2006-08-16 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
Patch by: Andy Wingo <wingo at pobox dot com>
|
Patch by: Andy Wingo <wingo at pobox dot com>
|
||||||
|
|
|
@ -302,6 +302,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
case 24:
|
case 24:
|
||||||
/* STAP-A Single-time aggregation packet 5.7.1 */
|
/* STAP-A Single-time aggregation packet 5.7.1 */
|
||||||
header_len = 1;
|
header_len = 1;
|
||||||
|
goto not_implemented;
|
||||||
break;
|
break;
|
||||||
case 25:
|
case 25:
|
||||||
/* STAP-B Single-time aggregation packet 5.7.1 */
|
/* STAP-B Single-time aggregation packet 5.7.1 */
|
||||||
|
@ -310,6 +311,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
case 27:
|
case 27:
|
||||||
/* MTAP24 Multi-time aggregation packet 5.7.2 */
|
/* MTAP24 Multi-time aggregation packet 5.7.2 */
|
||||||
header_len = 3;
|
header_len = 3;
|
||||||
|
goto not_implemented;
|
||||||
break;
|
break;
|
||||||
case 28:
|
case 28:
|
||||||
case 29:
|
case 29:
|
||||||
|
@ -425,6 +427,12 @@ undefined_type:
|
||||||
("Undefined packet type"), (NULL));
|
("Undefined packet type"), (NULL));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
not_implemented:
|
||||||
|
{
|
||||||
|
GST_ELEMENT_ERROR (rtph264depay, STREAM, FORMAT,
|
||||||
|
(NULL), ("NAL unit type not supported yet"));
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue