Explorar o código

Clarify precedence of mpv.conf and manually set properties

Towards #736
Matt Seeley %!s(int64=6) %!d(string=hai) anos
pai
achega
4af8326705
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/player/PlayerComponent.cpp

+ 2 - 0
src/player/PlayerComponent.cpp

@@ -88,6 +88,8 @@ bool PlayerComponent::componentInitialize()
   mpv_request_log_messages(m_mpv, "terminal-default");
   mpv::qt::set_property(m_mpv, "msg-level", "all=v");
 
+  // Configuration properties defined in the mpv.conf will override our
+  // hardcoded properties below.
   mpv::qt::set_property(m_mpv, "config", "yes");
   mpv::qt::set_property(m_mpv, "config-dir", Paths::dataDir());