mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
postprocess: fix a crash during remuxing because it could not find tracks
fixes: #1153
This commit is contained in:
parent
eb4f508fb0
commit
b428bcc398
@ -232,7 +232,7 @@ class postprocess:
|
||||
os.rename(tempfile, orig_filename)
|
||||
|
||||
def _streams(self, output):
|
||||
return re.findall(r"Stream \#\d:(\d)\[[^\[]+\]([\(\)\w]+)?: (Video|Audio): (.*)", output)
|
||||
return re.findall(r"Stream \#\d:(\d)[\[\(][^\[]+[\]\)]([\(\)\w]+)?: (Video|Audio): (.*)", output)
|
||||
|
||||
def _getcodec(self, streams, number):
|
||||
for stream in streams:
|
||||
|
Loading…
Reference in New Issue
Block a user