mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: give transcoded files their own path
STEAM_COMPAT_TRANSCODED_MEDIA_PATH
This commit is contained in:
parent
4e84cd392d
commit
300d23ca7c
6
proton
6
proton
@ -612,9 +612,11 @@ class Session:
|
|||||||
|
|
||||||
if "STEAM_COMPAT_MEDIA_PATH" in os.environ:
|
if "STEAM_COMPAT_MEDIA_PATH" in os.environ:
|
||||||
self.env["MEDIACONV_AUDIO_DUMP_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/audio.foz"
|
self.env["MEDIACONV_AUDIO_DUMP_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/audio.foz"
|
||||||
self.env["MEDIACONV_AUDIO_TRANSCODED_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/transcoded_audio.foz"
|
|
||||||
self.env["MEDIACONV_VIDEO_DUMP_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/video.foz"
|
self.env["MEDIACONV_VIDEO_DUMP_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/video.foz"
|
||||||
self.env["MEDIACONV_VIDEO_TRANSCODED_FILE"] = os.environ["STEAM_COMPAT_MEDIA_PATH"] + "/transcoded_video.foz"
|
|
||||||
|
if "STEAM_COMPAT_TRANSCODED_MEDIA_PATH" in os.environ:
|
||||||
|
self.env["MEDIACONV_AUDIO_TRANSCODED_FILE"] = os.environ["STEAM_COMPAT_TRANSCODED_MEDIA_PATH"] + "/transcoded_audio.foz"
|
||||||
|
self.env["MEDIACONV_VIDEO_TRANSCODED_FILE"] = os.environ["STEAM_COMPAT_TRANSCODED_MEDIA_PATH"] + "/transcoded_video.foz"
|
||||||
|
|
||||||
if "PATH" in os.environ:
|
if "PATH" in os.environ:
|
||||||
self.env["PATH"] = g_proton.bin_dir + ":" + os.environ["PATH"]
|
self.env["PATH"] = g_proton.bin_dir + ":" + os.environ["PATH"]
|
||||||
|
Loading…
Reference in New Issue
Block a user