From a1da81bee648f68e2272ff414b3a1cec4e57c374 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 27 Dec 2021 03:35:29 +0900 Subject: [PATCH] Revert "videodecoder: Forward hdr-format info downstream" This reverts commit 9b852181d8a1fa2fb1bf3ba898c6ffa04eea3fd4. It's leftover commit which should've been reverted as a part of https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1148 Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c index 40c3cd7..bc952bb 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c @@ -4461,14 +4461,6 @@ gst_video_decoder_negotiate_default (GstVideoDecoder * decoder) "content-light-level", G_TYPE_STRING, s, NULL); } } - if (gst_structure_has_field (in_struct, "hdr-format")) { - const gchar *s; - state->caps = gst_caps_make_writable (state->caps); - - if ((s = gst_structure_get_string (in_struct, "hdr-format"))) { - gst_caps_set_simple (state->caps, "hdr-format", G_TYPE_STRING, s, NULL); - } - } gst_caps_unref (incaps); } -- 2.7.4