From 7a2d9967f5aba185ea641cee996310187002fa24 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 11 May 2025 10:19:21 +0200 Subject: Improved custom gstreamer-1.0 installation (for new Proton launched from linux Steam) --- src/core.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index f94042c9..5422cd39 100644 --- a/src/core.c +++ b/src/core.c @@ -1023,6 +1023,12 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf // check if it exist if(FileExist(tmp, 0)) { box64_custom_gstreamer = box_strdup(tmp); + } else { + *pp = '\0'; + strcat(tmp, "/../lib/x86_64-linux-gnu/gstreamer-1.0"); + if(FileExist(tmp, 0)) { + box64_custom_gstreamer = box_strdup(tmp); + } } } // Try to get the name of the exe being run, to ApplyEnvFileEntry laters -- cgit 1.4.1