glcolorconvert: Fix compiler warning
authorSebastian Dröge <sebastian@centricular.com>
Sun, 26 Apr 2015 19:11:17 +0000 (21:11 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 26 Apr 2015 19:11:17 +0000 (21:11 +0200)
gstglcolorconvertelement.c:230:19: error: unused variable 'in_structure'
      [-Werror,-Wunused-variable]
    GstStructure *in_structure = gst_caps_get_structure (caps, 0);
                  ^

ext/gl/gstglcolorconvertelement.c

index 52cf13bf343abeb8f606b44e14ff11f43f91ec05..833d07e014b6c428b1d46ba74f0943f38adf56a8 100644 (file)
@@ -227,8 +227,6 @@ gst_gl_color_convert_element_fixate_caps (GstBaseTransform *
       caps, othercaps);
 
   if (direction == GST_PAD_SINK) {
-    GstStructure *in_structure = gst_caps_get_structure (caps, 0);
-
     if (gst_caps_is_subset (caps, ret)) {
       gst_caps_replace (&ret, caps);
     }