summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-28 16:32:49 +0100
committerwm4 <wm4@nowhere>2013-12-28 16:33:21 +0100
commitfd4e3af740fc00804e3f1b932462b44f795b1095 (patch)
treec3dfbb67dc09e76a3126c693033194d3fd71834e /etc
parenta473739fbfcba5fded59eaa35342127728774490 (diff)
downloadmpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.bz2
mpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.xz
Install encoding-profiles.conf by default
This is probably useful. Note that this includes a small, stupid hack to prevent loading of the config file if vf_lavfi is not available. The profile by default uses vf_lavfi, and the config parser will output errors if vf_lavfi is not available. As another caveat, we install the example profile even if encoding is disabled (though we don't load it, since this would print errors).
Diffstat (limited to 'etc')
-rw-r--r--etc/encoding-profiles.conf (renamed from etc/encoding-example-profiles.conf)7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/encoding-example-profiles.conf b/etc/encoding-profiles.conf
index cedb8066a2..dfa1dc4871 100644
--- a/etc/encoding-example-profiles.conf
+++ b/etc/encoding-profiles.conf
@@ -6,9 +6,10 @@
# encoding profile file #
#########################
#
-# Usage of this file: copy/symlink it to a fixed location, and add
-# include = /path/to/this/encoding-example-profiles.conf
-# to your ~/.mpv/config
+# Note: by default, this file is installed to /etc/mpv/encoding-profiles.conf
+# (or a different location, depending on --prefix). mpv will load it by
+# default on program start. If ~/.mpv/encoding-profiles.conf exists, this file
+# will be loaded instead.
#
# Then, list all profiles by
# mpv -profile help | grep enc-