summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-07 21:26:11 +0200
committerwm4 <wm4@nowhere>2015-05-07 21:26:11 +0200
commit34770887410cab45e2779d43a83aa4f6bdecf926 (patch)
tree2f61367ee2e4e736e9d4e64c8ea2ecff78f176e9 /libmpv
parent036a49478ff6cc19abfa06b7807bd4653eb9ce33 (diff)
downloadmpv-34770887410cab45e2779d43a83aa4f6bdecf926.tar.bz2
mpv-34770887410cab45e2779d43a83aa4f6bdecf926.tar.xz
player: use profiles for libmpv and encoding defaults
The client API (libmpv) and encoding (--o) have slightly different defaults from the command line player. Instead of doing a bunch of calls to set the options explicitly, use profiles. This is simpler and has the advantage that they can be listed on command line (instead of possibly forcing the user to find and read the code to know all the details).
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index a800043359..5a7a54ad67 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -369,6 +369,8 @@ const char *mpv_client_name(mpv_handle *ctx);
* if there are no more files to play on the internal playlist, instead of
* exiting. This is equivalent to the --idle option.
* - Disable parts of input handling.
+ * - Most of the different settings can be viewed with the command line player
+ * by running "mpv --show-profile=libmpv".
*
* All this assumes that API users want a mpv instance that is strictly
* isolated from the command line player's configuration, user settings, and