[FFmpeg-devel] [PATCH] configure: Check for DXGI_OUTDUPL_FRAME_INFO for the ddagrab filter

Hendrik Leppkes h.leppkes at gmail.com
Mon Aug 1 15:48:56 EEST 2022


On Mon, Aug 1, 2022 at 2:36 PM Martin Storsjö <martin at martin.st> wrote:
>
> The DXGI_OUTDUPL_FRAME_INFO type isn't available in Windows API
> subsets other than "desktop", while the IDXGIOutput1 interface is
> available for all API subsets.
>
> This fixes compilation for UWP/"Windows Store" configurations (and
> older API subsets like Windows Phone).

The entire desktop duplication API is not present on Phone targets
(its called "desktop" duplication afterall). I think it would be
better to check for a primary DDA function, instead of some auxiliary
structure.

- Hendrik


More information about the ffmpeg-devel mailing list