diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-12-06 12:14:26 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-12-06 12:14:26 +0100 |
commit | 5f9b83944da7c531f82ace0ce9275c2661e7187e (patch) | |
tree | 82b90a6530efef3ee83158125831519ec94d36d2 /youtube_dl/utils.py | |
parent | f6735be4da1da24be3a2d90461069d192900838a (diff) |
[ffmpeg] Improve version check and call it from hls (Fixes #4377)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 5efb4c59a..2e70cc791 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1502,7 +1502,7 @@ def limit_length(s, length): def version_tuple(v): - return [int(e) for e in v.split('.')] + return tuple(int(e) for e in re.split(r'[-.]', v)) def is_outdated_version(version, limit, assume_new=True): |