summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c54
1 files changed, 4 insertions, 50 deletions
diff --git a/player/main.c b/player/main.c
index 8beb4f8b9a..b3a08082d8 100644
--- a/player/main.c
+++ b/player/main.c
@@ -62,6 +62,10 @@
#include "command.h"
#include "screenshot.h"
+static const char def_config[] =
+#include "player/builtin_conf.inc"
+;
+
#ifdef _WIN32
#include <windows.h>
#endif
@@ -99,56 +103,6 @@ const char mp_help_text[] =
" --h=<pat> print options which match the given shell pattern\n"
"\n";
-static const char def_config[] =
-#if HAVE_RPI
- "hwdec=rpi\n"
- "fullscreen=yes\n"
-#endif
- "\n"
- "[pseudo-gui]\n"
- "terminal=no\n"
- "force-window=yes\n"
- "idle=once\n"
- "screenshot-directory=~~desktop/\n"
- "\n"
- "[libmpv]\n"
- "config=no\n"
- "idle=yes\n"
- "terminal=no\n"
- "input-terminal=no\n"
- "osc=no\n"
- "ytdl=no\n"
- "input-default-bindings=no\n"
- "input-vo-keyboard=no\n"
- "input-lirc=no\n"
- "input-appleremote=no\n"
- "input-media-keys=no\n"
- "input-app-events=no\n"
- "stop-playback-on-init-failure=yes\n"
-#if HAVE_ENCODING
- "\n"
- "[encoding]\n"
- "vo=lavc\n"
- "ao=lavc\n"
- "keep-open=no\n"
- "force-window=no\n"
- "gapless-audio=yes\n"
- "resume-playback=no\n"
- "load-scripts=no\n"
- "osc=no\n"
- "framedrop=no\n"
-#endif
- "\n"
- "[opengl-hq]\n"
- "scale=spline36\n"
- "cscale=spline36\n"
- "dscale=mitchell\n"
- "dither-depth=auto\n"
- "correct-downscaling=yes\n"
- "sigmoid-upscaling=yes\n"
- "deband=yes\n"
-;
-
static pthread_mutex_t terminal_owner_lock = PTHREAD_MUTEX_INITIALIZER;
static struct MPContext *terminal_owner;