Explorar o código

ignoreSSLErrors should do the right thing (#74)

Ian Walton %!s(int64=3) %!d(string=hai) anos
pai
achega
922d098227
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/player/PlayerComponent.cpp

+ 1 - 1
src/player/PlayerComponent.cpp

@@ -128,7 +128,7 @@ bool PlayerComponent::componentInitialize()
   // See: https://github.com/plexinc/plex-media-player/issues/736
   mpv::qt::set_property(m_mpv, "cache-seek-min", 5000);
 
-  if (!SettingsComponent::Get().ignoreSSLErrors()) {
+  if (SettingsComponent::Get().ignoreSSLErrors()) {
     mpv::qt::set_property(m_mpv, "tls-ca-file", "");
     mpv::qt::set_property(m_mpv, "tls-verify", "no");
   } else {