glcolorconvert: Caps passed to fixate_caps() are not owned by us and guaranteed to...
authorSebastian Dröge <sebastian@centricular.com>
Sat, 16 Jan 2016 15:12:29 +0000 (17:12 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 16 Jan 2016 15:12:29 +0000 (17:12 +0200)
So don't try to fixate them, which takes ownership and steals them from
basetransform.

https://bugzilla.gnome.org/show_bug.cgi?id=760696

gst-libs/gst/gl/gstglcolorconvert.c

index d7f9e2f..84323a7 100644 (file)
@@ -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;
 }