mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gdppay: remove obsolete code
Buffers have no caps in 1.0
This commit is contained in:
parent
ea7b843244
commit
6c9fdb52e1
1 changed files with 0 additions and 13 deletions
|
@ -535,9 +535,6 @@ static GstFlowReturn
|
|||
gst_gdp_pay_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||
{
|
||||
GstGDPPay *this;
|
||||
#if 0
|
||||
GstCaps *caps;
|
||||
#endif
|
||||
GstBuffer *outbuffer;
|
||||
GstFlowReturn ret;
|
||||
|
||||
|
@ -612,16 +609,6 @@ no_caps:
|
|||
ret = GST_FLOW_NOT_NEGOTIATED;
|
||||
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:
|
||||
{
|
||||
GST_ELEMENT_ERROR (this, STREAM, ENCODE, (NULL),
|
||||
|
|
Loading…
Reference in a new issue