gdppay: remove obsolete code

Buffers have no caps in 1.0
This commit is contained in:
Thiago Santos 2014-07-01 10:24:44 -03:00 committed by Thiago Santos
parent ea7b843244
commit 6c9fdb52e1

View file

@ -535,9 +535,6 @@ static GstFlowReturn
gst_gdp_pay_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) gst_gdp_pay_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
{ {
GstGDPPay *this; GstGDPPay *this;
#if 0
GstCaps *caps;
#endif
GstBuffer *outbuffer; GstBuffer *outbuffer;
GstFlowReturn ret; GstFlowReturn ret;
@ -612,16 +609,6 @@ no_caps:
ret = GST_FLOW_NOT_NEGOTIATED; ret = GST_FLOW_NOT_NEGOTIATED;
goto done; goto done;
} }
#if 0
no_caps_buffer:
{
GST_ELEMENT_ERROR (this, STREAM, ENCODE, (NULL),
("Could not create GDP buffer from caps %" GST_PTR_FORMAT, caps));
gst_caps_unref (caps);
ret = GST_FLOW_ERROR;
goto done;
}
#endif
no_buffer: no_buffer:
{ {
GST_ELEMENT_ERROR (this, STREAM, ENCODE, (NULL), GST_ELEMENT_ERROR (this, STREAM, ENCODE, (NULL),