d3d11videosink: Fix tearing in case of fullscreen mode
authorSeungha Yang <seungha@centricular.com>
Wed, 15 Mar 2023 13:05:33 +0000 (22:05 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 16 Mar 2023 15:33:37 +0000 (15:33 +0000)
commit00bb3a171ea284a4ba1b17d51f835c036b09480c
tree42d981b3e551f7fe292509af3d434e7d00d36528
parentc975f0d26f7821eb0729f1cc66844beab6f40d09
d3d11videosink: Fix tearing in case of fullscreen mode

DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING and DXGI_PRESENT_ALLOW_TEARING should
be used only if required, when user wants Vsync off for example.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2376
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4188>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11window.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11window.h