From 7f11846da6111689eb8b0f256bec5e22fb653603 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Tue, 23 Oct 2018 21:23:19 +0100 Subject: [PATCH] [MPV] Added mpv.conf loading. --- src/mpvobject.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mpvobject.cpp b/src/mpvobject.cpp index 854d015..d7cae10 100644 --- a/src/mpvobject.cpp +++ b/src/mpvobject.cpp @@ -124,8 +124,8 @@ MpvObject::MpvObject(QQuickItem * parent) mpv_set_option_string(mpv, "ytdl", "yes"); mpv_set_option_string(mpv, "vo", "libmpv"); - /*mpv_set_option_string(mpv, "slang", "en"); - mpv_set_option_string(mpv, "sub-font", "Noto Sans"); + mpv_set_option_string(mpv, "slang", "en"); + /*mpv_set_option_string(mpv, "sub-font", "Noto Sans"); mpv_set_option_string(mpv, "sub-ass-override", "force"); mpv_set_option_string(mpv, "sub-ass", "off"); mpv_set_option_string(mpv, "sub-border-size", "0"); @@ -134,6 +134,9 @@ MpvObject::MpvObject(QQuickItem * parent) mpv_set_option_string(mpv, "sub-scale-with-window", "on"); mpv_set_option_string(mpv, "sub-back-color", "#C0080808");*/ + + mpv_set_option_string(mpv, "config", "yes"); + mpv_set_option_string(mpv, "sub-color", "0.0/0.0/0.0/0.0"); mpv_set_option_string(mpv, "sub-scale", "0");