mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-03 21:25:54 +00:00
gdppay: remove obsolete code
Buffers have no caps in 1.0
This commit is contained in:
parent
ea7b843244
commit
6c9fdb52e1
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue