From 1769510a280ab33cb7b31a1f3e17fdb09f5b87cf Mon Sep 17 00:00:00 2001 From: Mary Date: Mon, 3 May 2021 10:09:49 +0200 Subject: [PATCH] Set FFmpeg.AutoGen library search path on Linux This fix FFmpeg.AutoGen being unable to find system ffmpeg libraries on Linux. --- Ryujinx/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index 16f3fd74..e6771a43 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -1,4 +1,5 @@ using ARMeilleure.Translation.PTC; +using FFmpeg.AutoGen; using Gtk; using Ryujinx.Common.Configuration; using Ryujinx.Common.Logging; @@ -76,6 +77,9 @@ namespace Ryujinx if (OperatingSystem.IsLinux()) { XInitThreads(); + + // Configure FFmpeg search path + ffmpeg.RootPath = "/lib"; } string systemPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.Machine);