diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-08-17 15:47:28 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-08-17 15:47:28 +0000 |
commit | 5880332110c815df3aba007783383cf3ecf35ca3 (patch) | |
tree | eb06c5ad87c56c18315210d358a7b8ef99a0f924 /gst/rtp/gstrtph264depay.c | |
parent | 2207ced598b27a893960e67369b0f570238fb2af (diff) |
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.
Diffstat (limited to 'gst/rtp/gstrtph264depay.c')
-rw-r--r-- | gst/rtp/gstrtph264depay.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index ce361e25..acb79435 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -302,6 +302,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) case 24: /* STAP-A Single-time aggregation packet 5.7.1 */ header_len = 1; + goto not_implemented; break; case 25: /* STAP-B Single-time aggregation packet 5.7.1 */ @@ -310,6 +311,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) case 27: /* MTAP24 Multi-time aggregation packet 5.7.2 */ header_len = 3; + goto not_implemented; break; case 28: case 29: @@ -425,6 +427,12 @@ undefined_type: ("Undefined packet type"), (NULL)); return NULL; } +not_implemented: + { + GST_ELEMENT_ERROR (rtph264depay, STREAM, FORMAT, + (NULL), ("NAL unit type not supported yet")); + return NULL; + } } static void |