[MPlayer-cvslog] r37154 - trunk/osdep/mplayer.exe.manifest

Ingo Brückl ib at wupperonline.de
Wed Apr 23 19:25:29 CEST 2014


Reimar Döffinger wrote on Tue, 22 Apr 2014 23:38:53 +0200:

> On Tue, Apr 22, 2014 at 04:19:18AM +0200, Ingo Brückl wrote:
>> > Author: reimar
>> > Date: Sat Apr 19 10:30:17 2014
>> > New Revision: 37154
>>
>> > Log:
>> > Disable system DPI scaling on Windows.
>>
>> > We scale the video just fine (or rather, better)
>> > ourselves.
>> > The GUI might be in trouble here though, since it
>> > does not want its video to be scaled by the OS but
>> > it also isn't DPI aware either...
>>
>> Well, obviously I can't test (nor really estimate whether there will be
>> issues now)

> Forgot: Obviously there will be. The whole skin idea
> isn't really compatible with DPI changes unless you'd
> do a special high-resolution skin.
> High-DPI screens have up to 4x as high DPI, so if
> you want to imagine the GUI issues, just imagine every
> image in the skin was scaled to 1/4 in each direction
> (and also the fonts etc, but that part is a bit more complex).

I've read the MSDN article "Creating a DPI-Aware Application" and as far
as I understood it is possible to do necessary scaling in the application
(WM_DPICHANGED - no clue though whether you get this as early as on an
application's start and whether this relates to system stuff only or to user
stuff as well). There is even a coding sample for download.

Ingo


More information about the MPlayer-cvslog mailing list