fftools: add DPI awareness manifest
Some filters, like gdigrab, rely on this to be set to see and report proper dimensions.
This commit is contained in:
parent
b77fff47d0
commit
f85e0673c3
@ -21,6 +21,9 @@ OBJS-ffmpeg += \
|
|||||||
|
|
||||||
define DOFFTOOL
|
define DOFFTOOL
|
||||||
OBJS-$(1) += fftools/cmdutils.o fftools/opt_common.o fftools/$(1).o $(OBJS-$(1)-yes)
|
OBJS-$(1) += fftools/cmdutils.o fftools/opt_common.o fftools/$(1).o $(OBJS-$(1)-yes)
|
||||||
|
ifdef HAVE_GNU_WINDRES
|
||||||
|
OBJS-$(1) += fftools/fftoolsres.o
|
||||||
|
endif
|
||||||
$(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1))
|
$(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1))
|
||||||
$$(OBJS-$(1)): | fftools
|
$$(OBJS-$(1)): | fftools
|
||||||
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
|
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
|
||||||
|
9
fftools/fftools.manifest
Normal file
9
fftools/fftools.manifest
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<asmv3:application>
|
||||||
|
<asmv3:windowsSettings>
|
||||||
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||||
|
</asmv3:windowsSettings>
|
||||||
|
</asmv3:application>
|
||||||
|
</assembly>
|
2
fftools/fftoolsres.rc
Normal file
2
fftools/fftoolsres.rc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include <windows.h>
|
||||||
|
1 RT_MANIFEST fftools.manifest
|
Loading…
x
Reference in New Issue
Block a user