From fec6270205dee3a69d383e39215a124eb84b6caa Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 14 Oct 2021 22:55:35 -0300 Subject: [PATCH] encoding-profile: ignore more fields when creating for discover info Part-of: --- .../gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c index 4cf0c15899..73acbe0794 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c @@ -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)) {