[FFmpeg-devel] [PATCH 1/2] libavdevice/gdigrab: make region window click-throughable

2021-03-31 Thread 1160386205
From: He Yang <1160386...@qq.com> the region window created by option `-show_region`, though only 3 pixel width, is not click-throughable. Signed-off-by: He Yang <1160386...@qq.com> --- libavdevice/gdigrab.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavdevice/gdig

[FFmpeg-devel] [PATCH 2/2] libavdevice/gdigrab: create a separate thread for handling window messages

2021-03-31 Thread 1160386205
From: He Yang <1160386...@qq.com> Windows message processing should start as soon as the window is created. otherwise, Windows may think ffmpeg is not responding. for example the window may got stucked (by clicking at it) in the previous code while ffmpeg is querying the user whether to overwrite

[FFmpeg-devel] [PATCH] libavdevice/gdigrab: fix capture window title contain non-ASCII chars

2021-03-20 Thread 1160386205
From: He Yang <1160386...@qq.com> Signed-off-by: He Yang <1160386...@qq.com> --- libavdevice/gdigrab.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c index 9b2c55fe90..c2842975ec 100644 --- a/libavdevice/gdigrab.c +++

[FFmpeg-devel] [PATCH] libavdevice/gdigrab: fix capture window title contain non-ASCII chars

2021-03-19 Thread 1160386205
From: He Yang <1160386...@qq.com> Signed-off-by: He Yang <1160386...@qq.com> --- libavdevice/gdigrab.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c index 9b2c55fe90..ff4055c925 100644 --- a/libavdevice/gdigr