diff mbox series

[FFmpeg-devel,1/1] avdevice/gdigrab remove CAPTUREBLT flag

Message ID HK2PR03MB459696BE366FB1B4ACA99218C60C0@HK2PR03MB4596.apcprd03.prod.outlook.com
State New
Headers show
Series [FFmpeg-devel,1/1] avdevice/gdigrab remove CAPTUREBLT flag
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

fgodtdev@hotmail.com Jan. 22, 2020, 2:19 a.m. UTC
From: FgoDt <fgodtdev@hotmail.com>

Remove CAPTUREBLT flag, CAPTUREBLT flag may make mouse flicker.
Discussion details see:https://patchwork.ffmpeg.org/project/ffmpeg/patch/HK2PR03MB4596AB273414D034C0F0D34EC63B0@HK2PR03MB4596.apcprd03.prod.outlook.com/

Signed-off-by: fgodt <fgodtdev@hotmail.com>
---
 libavdevice/gdigrab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

fgodtdev@hotmail.com Jan. 27, 2020, 10:23 a.m. UTC | #1
From: fgodtdev
Date: 2020-01-22 10:19
To: ffmpeg-devel
CC: FgoDt
Subject: [PATCH 1/1] avdevice/gdigrab remove CAPTUREBLT flag
From: FgoDt <fgodtdev@hotmail.com>
 
Remove CAPTUREBLT flag, CAPTUREBLT flag may make mouse flicker.
Discussion details see:https://patchwork.ffmpeg.org/project/ffmpeg/patch/HK2PR03MB4596AB273414D034C0F0D34EC63B0@HK2PR03MB4596.apcprd03.prod.outlook.com/
 
Signed-off-by: fgodt <fgodtdev@hotmail.com>
---
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);
     }
diff mbox series

Patch

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);
     }