ffmpeg: Attempt to fix RootPath on some linux distributions (#2292)
* fix ffmpeg lib path
* Check if ffmpeg isn't found
* Move code to FFmpegContext
* Call it in static constructor
* revert static instance
* rollback
* lazy initialization
* Revert "lazy initialization"
This reverts commit f675d26a5d
.
This commit is contained in:
parent
c316c059ef
commit
7b8ad1c36c
2 changed files with 36 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
using ARMeilleure.Translation.PTC;
|
||||
using FFmpeg.AutoGen;
|
||||
using Gtk;
|
||||
using Ryujinx.Common.Configuration;
|
||||
using Ryujinx.Common.GraphicsDriver;
|
||||
|
@ -78,9 +77,6 @@ namespace Ryujinx
|
|||
if (OperatingSystem.IsLinux())
|
||||
{
|
||||
XInitThreads();
|
||||
|
||||
// Configure FFmpeg search path
|
||||
ffmpeg.RootPath = "/lib";
|
||||
}
|
||||
|
||||
string systemPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.Machine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue