mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
glcolorconvert: traverse all structures in caps when transform_caps
This is used to avoid negotiation failure between glcolorconvert and downstream element. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6908>
This commit is contained in:
parent
8bd1a3213e
commit
d1c81cbd79
1 changed files with 0 additions and 5 deletions
|
@ -1775,11 +1775,6 @@ gst_gl_color_convert_caps_transform_format_info (GstGLContext * context,
|
|||
st = gst_caps_get_structure (caps, i);
|
||||
f = gst_caps_get_features (caps, i);
|
||||
|
||||
/* If this is already expressed by the existing caps
|
||||
* skip this structure */
|
||||
if (i > 0 && gst_caps_is_subset_structure_full (res, st, f))
|
||||
continue;
|
||||
|
||||
format = gst_structure_get_value (st, "format");
|
||||
st = gst_structure_copy (st);
|
||||
|
||||
|
|
Loading…
Reference in a new issue