[FFmpeg-devel] [PATCH v4] gdigrab: Allow capturing a window by its handle

Stefano Sabatini stefasab at gmail.com
Sun Dec 17 20:17:33 EET 2023


On date Sunday 2023-12-17 18:29:33 +0100, Lena wrote:
> Added more context in the error message and did a final test that it all works.
> 
> Thanks for the smooth patch submission process!
> 
> 
> 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 at nihil.gay>
> ---
>  doc/indevs.texi       |  8 ++++++--
>  libavdevice/gdigrab.c | 15 ++++++++++++++-
>  2 files changed, 20 insertions(+), 3 deletions(-)

Thanks! Applied with a typo fix and a Changelog addition.


More information about the ffmpeg-devel mailing list