glcolorconvert: Fix compiler warning

gstglcolorconvertelement.c:230:19: error: unused variable 'in_structure'
      [-Werror,-Wunused-variable]
    GstStructure *in_structure = gst_caps_get_structure (caps, 0);
                  ^
This commit is contained in:
Sebastian Dröge 2015-04-26 21:11:17 +02:00
parent 528871f571
commit a8d498919e

View file

@ -227,8 +227,6 @@ gst_gl_color_convert_element_fixate_caps (GstBaseTransform *
caps, othercaps); caps, othercaps);
if (direction == GST_PAD_SINK) { if (direction == GST_PAD_SINK) {
GstStructure *in_structure = gst_caps_get_structure (caps, 0);
if (gst_caps_is_subset (caps, ret)) { if (gst_caps_is_subset (caps, ret)) {
gst_caps_replace (&ret, caps); gst_caps_replace (&ret, caps);
} }