mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
aac012ce72
IDXGIOutputDuplication can become invalid for example when there's desktop switch, resolution change or Windows User Account Control prompt appears on screen. When that happens, try to re-create the duplication interface for the changed output. Note that in the case of UAC prompt this operation will fail if the GStreamer process doesn't run at LOCAL_SYSTEM privileges. In such situation the source element won't create any frames as long as the output is occupied by UAC screen. In order to enable UAC access to sufficiently privileged GStreamer processes, call SetThreadDesktop() with the desktop handle that currently receives user input before creating our output duplication. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2204> |
||
---|---|---|
.. | ||
dxgicapture.c | ||
dxgicapture.h | ||
gstdx9screencapsrc.c | ||
gstdx9screencapsrc.h | ||
gstdxgiscreencapsrc.c | ||
gstdxgiscreencapsrc.h | ||
gstgdiscreencapsrc.c | ||
gstgdiscreencapsrc.h | ||
gstwinscreencap.c | ||
gstwinscreencap.h | ||
meson.build |