From 2b0c620b22a85d73f2b39049ed92d9300ff194d9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Sep 2016 13:45:23 +0200 Subject: 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.) --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/options.c') 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, -- cgit v1.2.3