mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
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:
parent
528871f571
commit
a8d498919e
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue