mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
d3d11window: Do not configure video processor for Xbox device
Disable video processor for Xbox until it's verified Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1339>
This commit is contained in:
parent
d12c0c4c7b
commit
fe361ecc25
1 changed files with 11 additions and 5 deletions
|
@ -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->render_info.colorimetry.range = GST_VIDEO_COLOR_RANGE_0_255;
|
||||||
}
|
}
|
||||||
|
|
||||||
window->processor =
|
/* FIXME: need to verify video processor on Xbox
|
||||||
gst_d3d11_video_processor_new (window->device,
|
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
|
||||||
GST_VIDEO_INFO_WIDTH (&window->info),
|
*/
|
||||||
GST_VIDEO_INFO_HEIGHT (&window->info),
|
if (!gst_d3d11_is_xbox_device (window->device)) {
|
||||||
display_width, display_height);
|
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) {
|
if (window->processor) {
|
||||||
const GstD3D11Format *in_format;
|
const GstD3D11Format *in_format;
|
||||||
const GstD3D11Format *out_format;
|
const GstD3D11Format *out_format;
|
||||||
|
|
Loading…
Reference in a new issue