summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 20876c0e4a..80b2c2bc5d 100644
--- a/options/options.c
+++ b/options/options.c
@@ -292,7 +292,8 @@ const m_option_t mp_opts[] = {
{"vda", 2},
{"vaapi", 4},
{"vaapi-copy", 5},
- {"dxva2-copy", 6})),
+ {"dxva2-copy", 6},
+ {"rpi", 7})),
OPT_STRING("hwdec-codecs", hwdec_codecs, 0),
OPT_SUBSTRUCT("sws", vo.sws_opts, sws_conf, 0),
@@ -797,6 +798,10 @@ 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",