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

2019-01-30 Thread Carl Eugen Hoyos
2019-01-27 20:15 GMT+01:00, Dilshod Mukhtarov : > New version, which uses integer arithmetics Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2019-01-30 Thread Carl Eugen Hoyos
2019-01-27 20:14 GMT+01:00, 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; // Horizonta

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 positioning

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 pix

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

2019-01-27 Thread Carl Eugen Hoyos
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 pixel ratio > > I would expect these to

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

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 19:40 GMT+01:00, Dilshod Mukhtarov : > Thanks for advices. I split the patch to two distinct parts. The > first part is here and the next one in a new message. I am quite sure that this has to be implemented without av_q2d(). Please avoid top-posting here, Carl Eugen _

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 h

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

2019-01-26 Thread 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 pixel ratio I would expect these to be AVRational, if this is not possible, it should be ex