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 40c3cd724a..bc952bb62e 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); }