[MPlayer-cvslog] r31630 - in trunk: Makefile osdep/mplayer.exe.manifest osdep/mplayer.rc

reimar subversion at mplayerhq.hu
Sun Jul 4 09:13:18 CEST 2010


Author: reimar
Date: Sun Jul  4 09:13:18 2010
New Revision: 31630

Log:
Add a manifest file to disable file and registry
"virtualization" on Windows.

Added:
   trunk/osdep/mplayer.exe.manifest
Modified:
   trunk/Makefile
   trunk/osdep/mplayer.rc

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sat Jul  3 22:54:54 2010	(r31629)
+++ trunk/Makefile	Sun Jul  4 09:13:18 2010	(r31630)
@@ -885,6 +885,8 @@ codec-cfg.d codec-cfg.o: codecs.conf.h
 $(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): help_mp.h
 $(call ADDSUFFIXES,.d .o,mpcommon osdep/mplayer.rc): version.h
 
+osdep/mplayer-rc.o: osdep/mplayer.exe.manifest
+
 gui/%: CFLAGS += -Wno-strict-prototypes
 
 libdvdcss/%:   CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)

Added: trunk/osdep/mplayer.exe.manifest
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/osdep/mplayer.exe.manifest	Sun Jul  4 09:13:18 2010	(r31630)
@@ -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>

Modified: trunk/osdep/mplayer.rc
==============================================================================
--- trunk/osdep/mplayer.rc	Sat Jul  3 22:54:54 2010	(r31629)
+++ trunk/osdep/mplayer.rc	Sun Jul  4 09:13:18 2010	(r31630)
@@ -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"


More information about the MPlayer-cvslog mailing list