From: Seungha Yang Date: Fri, 12 Jun 2020 11:18:53 +0000 (+0900) Subject: d3d11window: Do not configure video processor for Xbox device X-Git-Tag: 1.19.3~507^2~1756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe361ecc255b02f7569f9378d4e9af5fb79bbe8c;p=platform%2Fupstream%2Fgstreamer.git d3d11window: Do not configure video processor for Xbox device Disable video processor for Xbox until it's verified Part-of: --- diff --git a/sys/d3d11/gstd3d11window.cpp b/sys/d3d11/gstd3d11window.cpp index 56e8baf..b3a72cb 100644 --- a/sys/d3d11/gstd3d11window.cpp +++ b/sys/d3d11/gstd3d11window.cpp @@ -665,11 +665,17 @@ gst_d3d11_window_prepare (GstD3D11Window * window, guint display_width, window->render_info.colorimetry.range = GST_VIDEO_COLOR_RANGE_0_255; } - window->processor = - gst_d3d11_video_processor_new (window->device, - GST_VIDEO_INFO_WIDTH (&window->info), - GST_VIDEO_INFO_HEIGHT (&window->info), - display_width, display_height); + /* FIXME: need to verify video processor on Xbox + * https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312 + */ + if (!gst_d3d11_is_xbox_device (window->device)) { + window->processor = + gst_d3d11_video_processor_new (window->device, + GST_VIDEO_INFO_WIDTH (&window->info), + GST_VIDEO_INFO_HEIGHT (&window->info), + display_width, display_height); + } + if (window->processor) { const GstD3D11Format *in_format; const GstD3D11Format *out_format;