mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gl: remove the width/height fields from the caps to support frame resizing
It was previously only occuring with sysmem caps features https://bugzilla.gnome.org/show_bug.cgi?id=739334
This commit is contained in:
parent
6511a7282b
commit
36ade75f4a
2 changed files with 4 additions and 2 deletions
|
@ -340,7 +340,8 @@ gst_gl_mixer_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",
|
||||
"width", "height", NULL);
|
||||
NULL);
|
||||
gst_structure_remove_fields (st, "width", "height", NULL);
|
||||
|
||||
gst_caps_append_structure_full (res, st, gst_caps_features_copy (f));
|
||||
}
|
||||
|
|
|
@ -718,7 +718,8 @@ 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",
|
||||
"width", "height", NULL);
|
||||
NULL);
|
||||
gst_structure_remove_fields (st, "width", "height", NULL);
|
||||
|
||||
gst_caps_append_structure_full (res, st, gst_caps_features_copy (f));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue