Fallback to local GSTREAMER lib if the GSTREAMER EnvironmentVariable exists but the targeted folder does not exists
This commit is contained in:
1 parent
52727a5abc
commit
f860afdbd4
1 file changed
+1
-1
@@ -37,7 +37,7 @@ namespace Vocaluxe.Lib.Sound.Playback.GstreamerSharp
|
||||
#endif
|
||||
string gstreamerEnvVar = Environment.GetEnvironmentVariable(varName, EnvironmentVariableTarget.User);
|
||||
string dllDirectory;
|
||||
if (gstreamerEnvVar == null)
|
||||
if (gstreamerEnvVar == null || !Directory.Exists(gstreamerEnvVar))
|
||||
{
|
||||
#if ARCH_X86
|
||||
dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\gstreamer86\\bin\\");
|
||||
|
||||
Reference in new issue
Block a user