summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-15 13:45:23 +0200
committerwm4 <wm4@nowhere>2016-09-15 14:50:38 +0200
commit2b0c620b22a85d73f2b39049ed92d9300ff194d9 (patch)
tree11ce4ef28374daf6d3b5473583ac91f82597c7a2 /options
parent98f1b5fb9859a7f19d71137a3feae5f0c6031e78 (diff)
downloadmpv-2b0c620b22a85d73f2b39049ed92d9300ff194d9.tar.bz2
mpv-2b0c620b22a85d73f2b39049ed92d9300ff194d9.tar.xz
player: move builtin profiles to a separate file
Move the embedded string with the builtin profiles to a separate builtin.conf file. This makes it easier to read and edit, and you can also check it for errors with --include=etc/builtin.conf. (Normally errors are hidden intentionally, because there's no way to output error messages this early, and because some options might not be present on all platforms or with all configurations.)
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 509d738eb0..e4c334b45b 100644
--- a/options/options.c
+++ b/options/options.c
@@ -210,6 +210,7 @@ const struct m_sub_options vo_sub_opts = {
.window_scale = 1.0,
.x11_bypass_compositor = 2,
.mmcss_profile = "Playback",
+ .fullscreen = HAVE_RPI ? 1 : 0,
},
};
@@ -865,6 +866,7 @@ const struct MPOpts mp_default_opts = {
.sub_fix_timing = 1,
.screenshot_template = "mpv-shot%n",
+ .hwdec_api = HAVE_RPI ? HWDEC_RPI : 0,
.hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video,vp9",
.videotoolbox_format = IMGFMT_NV12,