gdigrab: allow capturing a window by its handle

x11grab can capture windows by their ID, but gdigrab can only capture
windows by their names, internally calling FindWindowW to lookup its
handle.

This patch simply allows the user to specify a window handle directly.
Signed-off-by: Lena <lena@nihil.gay>
This commit is contained in:
Lena
2023-12-17 18:29:33 +01:00
committed by Stefano Sabatini
parent 419145c11b
commit d7ac7101ee
3 changed files with 21 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ version <next>:
- aap filter
- demuxing, decoding, filtering, encoding, and muxing in the
ffmpeg CLI now all run in parallel
- enable gdigrab device to grab a window using the hwnd=HANDLER syntax
version 6.1:
- libaribcaption decoder