summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-23 21:24:50 +0200
committerwm4 <wm4@nowhere>2016-09-23 21:24:50 +0200
commit9eef41dec15580623cfa62909221fbc1fbf41706 (patch)
treedc03baf40c1905f3af4725404ad16d909f0d1964 /osdep
parentf0fd6633205fe0b477032d2be5028a204c327e0b (diff)
downloadmpv-9eef41dec15580623cfa62909221fbc1fbf41706.tar.bz2
mpv-9eef41dec15580623cfa62909221fbc1fbf41706.tar.xz
player: do not let pseudo-gui override user config settings
Seems like this confused users quite often. Instead of --profile=pseudo-gui, --player-operation-mode=pseudo-gui now has to be used to invoke pseudo GUI mode. The old way still works, and still behaves in the old way.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/main-fn-win.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/osdep/main-fn-win.c b/osdep/main-fn-win.c
index 84a77a3903..f003a5502b 100644
--- a/osdep/main-fn-win.c
+++ b/osdep/main-fn-win.c
@@ -67,8 +67,10 @@ int wmain(int argc, wchar_t *argv[])
// Build mpv's UTF-8 argv, and add the pseudo-GUI profile if necessary
if (argv[0])
MP_TARRAY_APPEND(NULL, argv_u8, argv_len, mp_to_utf8(argv_u8, argv[0]));
- if (gui)
- MP_TARRAY_APPEND(NULL, argv_u8, argv_len, "--profile=pseudo-gui");
+ if (gui) {
+ MP_TARRAY_APPEND(NULL, argv_u8, argv_len,
+ "--player-operation-mode=pseudo-gui");
+ }
for (int i = 1; i < argc; i++)
MP_TARRAY_APPEND(NULL, argv_u8, argv_len, mp_to_utf8(argv_u8, argv[i]));
MP_TARRAY_APPEND(NULL, argv_u8, argv_len, NULL);