1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

postprocess: fix detecting streams

This commit is contained in:
Johan Andersson 2023-10-09 00:07:12 +02:00
parent 18b1f90f61
commit 5ba3aead98

View File

@ -143,7 +143,7 @@ class postprocess:
def _streams(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(streams, number):