Change #273502
| Category | ffmpeg |
| Changed by | Martin Storsjö <martin@martin.st> |
| Changed at | Wed 01 Jul 2026 14:24:31 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | a1dd71edca3127c38bdd70cbaf0cb63abd5b7d2a |
Comments
configure: Add a dependency on user32 to the gfxcapture filter This filter uses a bunch of user32 functions, like GetMessage, DispatchMessage, PeekMessage, GetWindowRect, etc. This makes it clear that if the gfxcapture filter is built, we need to link user32, if other components that depend on user32 would happen to be disabled. Separately, if targeting UWP (with -DWINAPI_FAMILY=WINAPI_FAMILY_APP) then these user32 APIs are unavailable. We have an existing configure check for user32, checking for the GetShellWindow function. This function isn't used by gfxfilter, but its availability on UWP matches the other functions that gfxfilter uses. This fixes builds for UWP, by excluding the gfxcapture filter. (This is somewhat ironic, as the gfxcapture filter uses "winrt" APIs - but the implementation of the filter also relies on lots of APIs that are unavailable in UWP/"winrt".)
Changed files
- configure