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:
parent
36ef402031
commit
c941e68acf
1 changed files with 3 additions and 0 deletions
3
proton
3
proton
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue