mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
d3d11window: Disable d3d11 video processor for HDR10 stream.
d3d11 video processor is showing buggy behaviors in various cases. And this HDR10 is one case of them. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1454>
This commit is contained in:
parent
d1af0b6386
commit
2a0de96015
1 changed files with 9 additions and 1 deletions
|
@ -668,7 +668,15 @@ gst_d3d11_window_prepare (GstD3D11Window * window, guint display_width,
|
||||||
/* FIXME: need to verify video processor on Xbox
|
/* FIXME: need to verify video processor on Xbox
|
||||||
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
|
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
|
||||||
*/
|
*/
|
||||||
if (gst_d3d11_get_device_vendor (window->device) !=
|
|
||||||
|
/* XXX: Depending on driver/vendor, d3d11 video processor might not support
|
||||||
|
* HDR10 metadata. Even worse thing here is,
|
||||||
|
* although the d3d11 video processor's capability flag indicated that
|
||||||
|
* HDR10 metadata is supported, it would result to black screen when HDR10
|
||||||
|
* metadata is passed to d3d11 video processor. (without any error message).
|
||||||
|
* Let's disable d3d11 video processor.
|
||||||
|
*/
|
||||||
|
if (!have_hdr10 && gst_d3d11_get_device_vendor (window->device) !=
|
||||||
GST_D3D11_DEVICE_VENDOR_XBOX) {
|
GST_D3D11_DEVICE_VENDOR_XBOX) {
|
||||||
window->processor =
|
window->processor =
|
||||||
gst_d3d11_video_processor_new (window->device,
|
gst_d3d11_video_processor_new (window->device,
|
||||||
|
|
Loading…
Reference in a new issue