Revert "videodecoder: Forward hdr-format info downstream"

This reverts commit 9b852181d8.

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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1475>
This commit is contained in:
Seungha Yang 2021-12-27 03:35:29 +09:00 committed by GStreamer Marge Bot
parent 77225c79f9
commit a1da81bee6

View file

@ -4461,14 +4461,6 @@ gst_video_decoder_negotiate_default (GstVideoDecoder * decoder)
"content-light-level", G_TYPE_STRING, s, NULL); "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); gst_caps_unref (incaps);
} }