mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
77225c79f9
commit
a1da81bee6
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue