From a8d498919ed0375445badd9912df5018da6d7c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 26 Apr 2015 21:11:17 +0200 Subject: [PATCH] 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); ^ --- ext/gl/gstglcolorconvertelement.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/gl/gstglcolorconvertelement.c b/ext/gl/gstglcolorconvertelement.c index 52cf13bf34..833d07e014 100644 --- a/ext/gl/gstglcolorconvertelement.c +++ b/ext/gl/gstglcolorconvertelement.c @@ -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); }