mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
glcolorconvert: don't skip subset structures
We may need them to transform into a different set of formats. Fixes YUV->YUV with two glcolorconverts, e.g: format=I420 ! glcolorconvert ! glcolorconvert ! format=NV12
This commit is contained in:
parent
9b6be35222
commit
87573ba66c
1 changed files with 0 additions and 5 deletions
|
@ -855,11 +855,6 @@ gst_gl_color_convert_caps_transform_format_info (GstCaps * caps)
|
|||
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);
|
||||
if (GST_VALUE_HOLDS_LIST (format)) {
|
||||
|
|
Loading…
Reference in a new issue