mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gl/filter: also remove the width/height in transform_caps
allows scaling in the filters
This commit is contained in:
parent
a181460755
commit
75c7e5019c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue