[FFmpeg-devel] gdigrab: fix HIDPI support for multi-monitor setup with different scale settings

2019-07-05 Thread Dilshod Mukhtarov
Hi, In Windows multi-monitor setup if there are different scales settings on different monitors then coordinates for videorecording  calculated not correct. Here is the patch that fixes this problem -- With the best regards, Dilshod >From 34ac7244b23ac2347a8e48b2ea2966cf69e1cf27 Mon Sep 17

[FFmpeg-devel] gdigrab: fix mouse position for multi-monitor setup with different scale settings

2019-07-05 Thread Dilshod Mukhtarov
Hi, This is the patch that fixes the drawing of cursor in incorrect position on Windows with multi-monitor setup with different scales on different monitors -- With the best regards, Dilshod >From 17f2a9b956d440bfedc38f8a6de50886de04b1dd Mon Sep 17 00:00:00 2001 From: Dilshod Muktharov Date

Re: [FFmpeg-devel] gdigrab: fix HIDPI support for mouse positioning

2019-01-27 Thread Dilshod Mukhtarov
New version, which uses integer arithmetics -- With the best regards, Dilshod >From 586d4b3ed3406b66e3d0bd69806bc33beaddc026 Mon Sep 17 00:00:00 2001 From: Dilshod Mukhtarov Date: Sun, 27 Jan 2019 23:10:37 +0400 Subject: [PATCH 2/2] libavdevice/gdigrab: fix HIDPI support for mouse position

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Dilshod Mukhtarov
On 27.01.2019 22:51, Carl Eugen Hoyos wrote: 2019-01-27 1:45 GMT+01:00, Carl Eugen Hoyos : 2019-01-26 18:53 GMT+01:00, Dilshod Mukhtarov : HI, this is the patch that fixes HIDPI support in gdigrab +double h_dpr; // Horizontal device pixel ratio +double v_dpr; // Vertical device

[FFmpeg-devel] gdigrab: fix HIDPI support for mouse positioning

2019-01-27 Thread Dilshod Mukhtarov
-- With the best regards, Dilshod >From 0d8ee5aca28655baf0e6954063ad61a422443d38 Mon Sep 17 00:00:00 2001 From: Dilshod Mukhtarov Date: Sun, 27 Jan 2019 22:30:01 +0400 Subject: [PATCH 2/2] libavdevice/gdigrab: fix HIDPI support for mouse positioning Mouse position was not calculated prope

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Dilshod Mukhtarov
Hi Carl, Thanks for advices. I split the patch to two distinct parts. The first part is here and the next one in a new message. On 27.01.2019 4:45, Carl Eugen Hoyos wrote: 2019-01-26 18:53 GMT+01:00, Dilshod Mukhtarov : HI, this is the patch that fixes HIDPI support in gdigrab +double

[FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-26 Thread Dilshod Mukhtarov
Sep 17 00:00:00 2001 From: Dilshod Mukhtarov Date: Fri, 25 Jan 2019 11:52:02 +0400 Subject: [PATCH] libavdevice/gdigrab: Fix HIDPI support In Windows HIDPI mode grigrab mouse was not properly positioned when using area recording. When using windowed recording the window size was not correct (record