diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-05-11 10:19:21 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-05-11 10:19:21 +0200 |
| commit | 7a2d9967f5aba185ea641cee996310187002fa24 (patch) | |
| tree | 7202394995c195c9f7a5dbcd117a8961abee431e | |
| parent | 2aeddc882925898a53d377942c7457dd0daa077c (diff) | |
| download | box64-7a2d9967f5aba185ea641cee996310187002fa24.tar.gz box64-7a2d9967f5aba185ea641cee996310187002fa24.zip | |
Improved custom gstreamer-1.0 installation (for new Proton launched from linux Steam)
| -rw-r--r-- | src/core.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |