summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--osdep/mplayer.exe.manifest19
-rw-r--r--osdep/mplayer.rc3
3 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1ede58f37d..8e632eeb48 100644
--- a/Makefile
+++ b/Makefile
@@ -811,6 +811,8 @@ ifeq ($(LIBSWSCALE_INTERNALS),yes)
libvo/vo_yuv4mpeg.o: CFLAGS := -I$(FFMPEG_SOURCE_PATH) $(CFLAGS)
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)
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)
diff --git a/osdep/mplayer.exe.manifest b/osdep/mplayer.exe.manifest
new file mode 100644
index 0000000000..7a0102dc3f
--- /dev/null
+++ b/osdep/mplayer.exe.manifest
@@ -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>
diff --git a/osdep/mplayer.rc b/osdep/mplayer.rc
index 7e166b9c6f..97bd8d56d6 100644
--- a/osdep/mplayer.rc
+++ b/osdep/mplayer.rc
@@ -51,3 +51,6 @@ FILETYPE VFT_APP
}
IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"
+
+// for some reason RT_MANIFEST does not work
+1 24 "mplayer.exe.manifest"