Luke Pulverenti 8 rokov pred
rodič
commit
e4357a17f7

+ 0 - 1
MediaBrowser.Model/Configuration/EncodingOptions.cs

@@ -22,7 +22,6 @@ namespace MediaBrowser.Model.Configuration
             EncodingThreadCount = -1;
             VaapiDevice = "/dev/dri/card0";
             H264Crf = 23;
-            H264Preset = "superfast";
         }
     }
 }

+ 9 - 0
MediaBrowser.Server.Startup.Common/ApplicationHost.cs

@@ -325,6 +325,15 @@ namespace MediaBrowser.Server.Startup.Common
 
             await MediaEncoder.Init().ConfigureAwait(false);
 
+            if (string.IsNullOrWhiteSpace(MediaEncoder.EncoderPath))
+            {
+                if (ServerConfigurationManager.Configuration.IsStartupWizardCompleted)
+                {
+                    ServerConfigurationManager.Configuration.IsStartupWizardCompleted = false;
+                    ServerConfigurationManager.SaveConfiguration();
+                }
+            }
+
             Logger.Info("ServerId: {0}", SystemId);
             Logger.Info("Core startup complete");
             HttpServer.GlobalResponse = null;