gl/filter: also remove the width/height in transform_caps

allows scaling in the filters
This commit is contained in:
Matthew Waters 2014-05-29 16:18:08 +10:00 committed by Tim-Philipp Müller
parent 8cf3a3a4f4
commit 30a9843c02

View file

@ -714,7 +714,7 @@ gst_gl_filter_caps_remove_format_info (GstCaps * caps)
&& gst_caps_features_is_equal (f,
GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY))
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));
}