diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-07-01 10:24:44 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@osg.samsung.com> | 2014-07-22 08:51:32 -0300 |
commit | 6c9fdb52e1f353fb255301cb3e134d6dbfb19a28 (patch) | |
tree | e9e5c82c92353adb152fe1845aa670a29e128e7d /gst/gdp | |
parent | ea7b843244f3494a96b43d0a5dcaed69b8a5bf56 (diff) | |
download | gstreamer-plugins-bad-6c9fdb52e1f353fb255301cb3e134d6dbfb19a28.tar.gz |
gdppay: remove obsolete code
Buffers have no caps in 1.0
Diffstat (limited to 'gst/gdp')
-rw-r--r-- | gst/gdp/gstgdppay.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 708e13790..daa980735 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -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), |