From: fgodtdev Date: 2020-01-22 10:19 To: ffmpeg-devel CC: FgoDt Subject: [PATCH 1/1] avdevice/gdigrab remove CAPTUREBLT flag From: FgoDt <[email protected]> Remove CAPTUREBLT flag, CAPTUREBLT flag may make mouse flicker. Discussion details see:https://patchwork.ffmpeg.org/project/ffmpeg/patch/hk2pr03mb4596ab273414d034c0f0d34ec6...@hk2pr03mb4596.apcprd03.prod.outlook.com/ Signed-off-by: fgodt <[email protected]> --- libavdevice/gdigrab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c index f4444406fa..f6075e4c6c 100644 --- a/libavdevice/gdigrab.c +++ b/libavdevice/gdigrab.c @@ -575,7 +575,7 @@ static int gdigrab_read_packet(AVFormatContext *s1, AVPacket *pkt) clip_rect.right - clip_rect.left, clip_rect.bottom - clip_rect.top, source_hdc, - clip_rect.left, clip_rect.top, SRCCOPY | CAPTUREBLT)) { + clip_rect.left, clip_rect.top, SRCCOPY )) { WIN32_API_ERROR("Failed to capture image"); return AVERROR(EIO); } -- 2.23.0
Need review fgodt _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
