gst-libs/gst/rtp/gstbasertppayload.c: Posting ERROR and WARNING messages is good.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_get_property),
(gst_basertppayload_change_state):
Posting ERROR and WARNING messages is good.
This commit is contained in:
Wim Taymans 2005-09-19 14:23:33 +00:00
parent 16c30a244b
commit e1c64e3b2f
3 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2005-09-19 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_get_property),
(gst_basertppayload_change_state):
Posting ERROR and WARNING messages is good.
2005-09-19 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/rtp/gstbasertpdepayload.c:

2
common

@ -1 +1 @@
Subproject commit eac450a673cd1d3a606fe75399d0cd1fcb1d0d7b
Subproject commit 13022c3cb4558d201e2ddf3e65d2e36b16eedc4a

View file

@ -233,7 +233,8 @@ gst_basertppayload_chain (GstPad * pad, GstBuffer * buffer)
/* ERRORS */
no_function:
{
GST_DEBUG ("subclass did not implement handle_buffer function");
GST_ELEMENT_ERROR (basertppayload, STREAM, NOT_IMPLEMENTED, (NULL),
("subclass did not implement handle_buffer function"));
gst_object_unref (basertppayload);
return GST_FLOW_ERROR;
}
@ -322,7 +323,8 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer)
/* ERRORS */
no_rate:
{
GST_DEBUG ("subclass did not specify clock_rate");
GST_ELEMENT_ERROR (payload, STREAM, NOT_IMPLEMENTED, (NULL),
("subclass did not specify clock_rate"));
gst_buffer_unref (buffer);
return GST_FLOW_ERROR;
}