diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-01-16 17:12:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-01-16 17:12:29 +0200 |
commit | c08c795bb42768ecd26bc524d62833bc962e860e (patch) | |
tree | 3773be5c31314ccaf75d893928d4590d94c79566 | |
parent | 2018167ee2a11372f21b8d98ac06f422115711c8 (diff) | |
download | gstreamer-plugins-bad-c08c795bb42768ecd26bc524d62833bc962e860e.tar.gz |
glcolorconvert: Caps passed to fixate_caps() are not owned by us and guaranteed to be fixed
So don't try to fixate them, which takes ownership and steals them from
basetransform.
https://bugzilla.gnome.org/show_bug.cgi?id=760696
-rw-r--r-- | gst-libs/gst/gl/gstglcolorconvert.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index d7f9e2f12..84323a7f9 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; } |