proton: Look for libraries in Steam Client path.

This is used to pick up Valve's build of ffmpeg, which includes proprietary decoders.

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
This commit is contained in:
Derek Lesho 2021-12-20 17:35:06 -05:00 committed by Arkadiusz Hiler
parent a18ffa9b8b
commit bcccab62e0

3
proton
View File

@ -891,6 +891,9 @@ class CompatData:
setup_game_dir_drive()
# add Steam ffmpeg libraries to path
prepend_to_env_str(g_session.env, ld_path_var, steamdir + "/ubuntu12_64/video/:" + steamdir + "/ubuntu12_32/video/", ":")
def comma_escaped(s):
escaped = False
idx = -1