diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index d7f9e2f122..84323a7f91 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -893,8 +893,6 @@ gst_gl_color_convert_fixate_caps (GstGLContext * convert, return other; } - caps = gst_caps_fixate (caps); - gst_video_info_from_caps (&info, caps); gst_video_info_from_caps (&other_info, other); @@ -927,7 +925,6 @@ gst_gl_color_convert_fixate_caps (GstGLContext * convert, gst_structure_set_value (s_other, "texture-target", &item); g_value_unset (&item); - gst_caps_unref (caps); return other; }