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

2023-12-11 Thread Stefano Sabatini
On date Monday 2023-12-11 02:52:01 +0100, ffmpeg-devel Mailing List wrote: > 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

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

2023-12-10 Thread Lena via ffmpeg-devel
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 --- libavdevice/gdigrab.c | 6 +- 1 file changed, 5

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

2023-12-10 Thread Lena via ffmpeg-devel
I'm so sorry, will resend immediately. Andreas Rheinhardt via ffmpeg-devel: Lena via ffmpeg-devel: 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

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

2023-12-10 Thread Andreas Rheinhardt
Lena via ffmpeg-devel: > 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 > --- >  

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

2023-12-10 Thread Lena via ffmpeg-devel
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 --- libavdevice/gdigrab.c | 6 +- 1 file changed, 5