mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
basetransform: Remove nowadays unused and uninitialized setcaps variable
This commit is contained in:
parent
65eafd9340
commit
de5ce36dd1
1 changed files with 2 additions and 2 deletions
|
@ -1338,7 +1338,7 @@ gst_base_transform_prepare_output_buffer (GstBaseTransform * trans,
|
|||
GstBaseTransformPrivate *priv;
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
gsize insize, outsize;
|
||||
gboolean discard, setcaps, copymeta;
|
||||
gboolean discard, copymeta;
|
||||
GstCaps *oldcaps, *outcaps;
|
||||
|
||||
bclass = GST_BASE_TRANSFORM_GET_CLASS (trans);
|
||||
|
@ -1493,7 +1493,7 @@ gst_base_transform_prepare_output_buffer (GstBaseTransform * trans,
|
|||
&& (GST_MINI_OBJECT_FLAGS (*out_buf) & GST_BUFFER_FLAG_GAP);
|
||||
|
||||
if (copymeta) {
|
||||
GST_DEBUG_OBJECT (trans, "setcaps %d, copymeta %d", setcaps, copymeta);
|
||||
GST_DEBUG_OBJECT (trans, "copymeta %d", copymeta);
|
||||
if (!gst_buffer_is_writable (*out_buf)) {
|
||||
GST_DEBUG_OBJECT (trans, "buffer %p not writable", *out_buf);
|
||||
if (in_buf == *out_buf)
|
||||
|
|
Loading…
Reference in a new issue