encoding-profile: ignore more fields when creating for discover info

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1062>
This commit is contained in:
Thibault Saunier 2021-10-14 22:55:35 -03:00
parent e9fdfade61
commit fec6270205

View file

@ -2171,7 +2171,8 @@ create_stream_profile_recurse (GstEncodingProfile * toplevel,
s = gst_caps_get_structure (caps, 0);
gst_structure_remove_fields (s, "codec_data", "streamheader", "parsed",
"framed", "stream-format", "alignment", "tier", "level", "profile", NULL);
"colorimetry", "framed", "stream-format", "alignment", "tier", "level",
"profile", NULL);
GST_LOG ("Stream: %" GST_PTR_FORMAT, caps);
if (GST_IS_DISCOVERER_AUDIO_INFO (sinfo)) {