mirror of https://github.com/mpv-player/mpv
Windows support: add a manifest file
Add a manifest file to disable file and registry "virtualization" on Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31630 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a874569db6
commit
95751ea3e4
2
Makefile
2
Makefile
|
@ -811,6 +811,8 @@ ifeq ($(LIBSWSCALE_INTERNALS),yes)
|
||||||
libvo/vo_yuv4mpeg.o: CFLAGS := -I$(FFMPEG_SOURCE_PATH) $(CFLAGS)
|
libvo/vo_yuv4mpeg.o: CFLAGS := -I$(FFMPEG_SOURCE_PATH) $(CFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
osdep/mplayer-rc.o: osdep/mplayer.exe.manifest
|
||||||
|
|
||||||
libdvdcss/%: CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)
|
libdvdcss/%: CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)
|
||||||
libdvdnav/%: CFLAGS := -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS)
|
libdvdnav/%: CFLAGS := -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS)
|
||||||
libdvdread4/%: CFLAGS := -Ilibdvdread4 -D__USE_UNIX98 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS)
|
libdvdread4/%: CFLAGS := -Ilibdvdread4 -D__USE_UNIX98 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS)
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<assemblyIdentity
|
||||||
|
version="0.0.9.0"
|
||||||
|
processorArchitecture="*"
|
||||||
|
name="MPlayer - The Movie Player"
|
||||||
|
type="win32"
|
||||||
|
/>
|
||||||
|
<description>MPlayer - The Movie Player</description>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges>
|
||||||
|
<requestedExecutionLevel
|
||||||
|
level="asInvoker"
|
||||||
|
/>
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
</assembly>
|
|
@ -51,3 +51,6 @@ FILETYPE VFT_APP
|
||||||
}
|
}
|
||||||
|
|
||||||
IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"
|
IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"
|
||||||
|
|
||||||
|
// for some reason RT_MANIFEST does not work
|
||||||
|
1 24 "mplayer.exe.manifest"
|
||||||
|
|
Loading…
Reference in New Issue