gl/filter: also remove the width/height in transform_caps
allows scaling in the filters
This commit is contained in:
parent
8cf3a3a4f4
commit
30a9843c02
@ -714,7 +714,7 @@ gst_gl_filter_caps_remove_format_info (GstCaps * caps)
|
|||||||
&& gst_caps_features_is_equal (f,
|
&& gst_caps_features_is_equal (f,
|
||||||
GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY))
|
GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY))
|
||||||
gst_structure_remove_fields (st, "format", "colorimetry", "chroma-site",
|
gst_structure_remove_fields (st, "format", "colorimetry", "chroma-site",
|
||||||
NULL);
|
"width", "height", NULL);
|
||||||
|
|
||||||
gst_caps_append_structure_full (res, st, gst_caps_features_copy (f));
|
gst_caps_append_structure_full (res, st, gst_caps_features_copy (f));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user