mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
d3d11videosink: Don't use DXGI_ALPHA_MODE_PREMULTIPLIED for HWND swapchain
It's allowed only for a swapchain type which does composition Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5464>
This commit is contained in:
parent
7b564619cf
commit
c2ed8759c8
1 changed files with 1 additions and 1 deletions
|
@ -1098,7 +1098,7 @@ gst_d3d11_window_win32_create_swap_chain (GstD3D11Window * window,
|
||||||
if (gst_d3d11_is_windows_8_or_greater ())
|
if (gst_d3d11_is_windows_8_or_greater ())
|
||||||
desc1.Scaling = DXGI_SCALING_NONE;
|
desc1.Scaling = DXGI_SCALING_NONE;
|
||||||
desc1.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL;
|
desc1.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL;
|
||||||
desc1.AlphaMode = DXGI_ALPHA_MODE_PREMULTIPLIED;
|
desc1.AlphaMode = DXGI_ALPHA_MODE_UNSPECIFIED;
|
||||||
desc1.Flags = swapchain_flags;
|
desc1.Flags = swapchain_flags;
|
||||||
|
|
||||||
new_swapchain = create_swap_chain_for_hwnd (self, device,
|
new_swapchain = create_swap_chain_for_hwnd (self, device,
|
||||||
|
|
Loading…
Reference in a new issue