diff options
| author | Mary <me@thog.eu> | 2021-05-03 10:09:49 +0200 |
|---|---|---|
| committer | Mary <me@thog.eu> | 2021-05-03 10:09:49 +0200 |
| commit | 1769510a280ab33cb7b31a1f3e17fdb09f5b87cf (patch) | |
| tree | 15d8fc54a061387382fd1ef5d4c2db16b3a3089e | |
| parent | a00c5cad005b81fe0d15fe387ee87145c12e918c (diff) | |
Set FFmpeg.AutoGen library search path on Linux
This fix FFmpeg.AutoGen being unable to find system ffmpeg libraries on
Linux.
| -rw-r--r-- | Ryujinx/Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
