d3d11screencapturesrc: add support for capturing windows using the Windows::Graphics::Capture API

Closed Andoni Morales Alastruey requested to merge ylatuya/gstreamer:d3d11capsrc into main

The following MR adds a new source element based on the Windows::Graphics::Capture API.

This API support capturing both from a monitor or a window.

  • Add show-cursor property to the GstD3D11ScreenCaptureInterface and GstD3D11GraphicsCapture
  • Handle initialization errors with window-handle is incorrect
  • Handle captured window being closed by the user
  • Test binaries in an older version of Windows
Edited by Andoni Morales Alastruey

Merge request reports