From 1aa2ae5404d134815eddcb3f146a9c1f8bbfc2e9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 5 Feb 2016 17:58:14 +0100 Subject: options: set fs=yes by default on RPI, and change RPI defaults handling The main reason for changing the fullscreen default is that not doing it would change the vo_rpi default behavior with the previous commit. --- options/options.c | 4 ---- player/main.c | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/options/options.c b/options/options.c index b839f3a7c9..0377854c0e 100644 --- a/options/options.c +++ b/options/options.c @@ -820,10 +820,6 @@ const struct MPOpts mp_default_opts = { .mf_fps = 1.0, -#if HAVE_RPI - .hwdec_api = -1, -#endif - .display_tags = (char **)(const char*[]){ "Artist", "Album", "Album_Artist", "Comment", "Composer", "Genre", "Performer", "Title", "Track", "icy-title", "service_name", diff --git a/player/main.c b/player/main.c index 046d41c6b2..70176f2d35 100644 --- a/player/main.c +++ b/player/main.c @@ -97,6 +97,11 @@ const char mp_help_text[] = "\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" -- cgit v1.2.3