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
This commit is contained in:
parent
a208624354
commit
f05da0fef7
@ -893,8 +893,6 @@ gst_gl_color_convert_fixate_caps (GstGLContext * convert,
|
|||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
|
||||||
caps = gst_caps_fixate (caps);
|
|
||||||
|
|
||||||
gst_video_info_from_caps (&info, caps);
|
gst_video_info_from_caps (&info, caps);
|
||||||
gst_video_info_from_caps (&other_info, other);
|
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);
|
gst_structure_set_value (s_other, "texture-target", &item);
|
||||||
|
|
||||||
g_value_unset (&item);
|
g_value_unset (&item);
|
||||||
gst_caps_unref (caps);
|
|
||||||
|
|
||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user