Open rdp opened 9 years ago
how about SetProcessDPIAwareness same fix? What exactly does it fix how to reproduce?
On Sat, Nov 22, 2014 at 1:41 AM, Gandalfliang notifications@github.com wrote:
adding this code "SetProcessDPIAware();" under PsuSourceDesktop.cpp's default child constructor resolve my high dpi problem under windows 8.1
— Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/50#issuecomment-64073663 .
my previous problem is capturing full screen under windows 8.1 with DPI setting up to 150% and my screen resolution is 2160x1440, however, without the high dpi setting, screen-capture-recorder detected my screen resolution as 1440x900, which means I can only capture part of my desktop screen. So I add the code I mentioned and my problem with high DPI setting solved.
bump also #31 #56
A workaround we've found is to set the compatibility mode flag "Disable display scaling on high DPI settings" on whatever executable is loading the DLL, which in our case is ffmpeg.exe
. This can be done programmatically via the registry, which is a bit of a pain when distributing.
@DuBistKomisch that works, but the cursor appears to be more scaled up/pixelated. did you find a workaround for that?
Nope, haven't looked into it too deeply yet. Just getting the full screen is good enough for our purposes in the short term. I'll report anything else I end up finding.
adding this code "SetProcessDPIAware();" under PushSourceDesktop.cpp's default child constructor resolve my high dpi problem under windows 8.1