From 34770887410cab45e2779d43a83aa4f6bdecf926 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 May 2015 21:26:11 +0200 Subject: 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). --- libmpv/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpv/client.h') 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 -- cgit v1.2.3