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
parent 36ef402031
commit c941e68acf

3
proton
View file

@ -890,6 +890,9 @@ class CompatData:
elif os.path.lexists(gamedrive_path): elif os.path.lexists(gamedrive_path):
os.remove(gamedrive_path) os.remove(gamedrive_path)
# 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): def comma_escaped(s):
escaped = False escaped = False
idx = -1 idx = -1