diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-05-14 12:33:33 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-05-14 12:33:33 +0700 |
commit | 60f5c9fb191b1ffc11e69dece379a8ad2de22207 (patch) | |
tree | a834ebc5c18bfa5539dab002e1b08a2a7a66b0c2 /youtube_dl/utils.py | |
parent | c360e641e9f3bd1c5111d03e5d9d90e5b6abdf02 (diff) |
[utils] Recognize more audio codecs (#13081)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index aa1900436..4293a77f5 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -2360,11 +2360,11 @@ def parse_codecs(codecs_str): if codec in ('avc1', 'avc2', 'avc3', 'avc4', 'vp9', 'vp8', 'hev1', 'hev2', 'h263', 'h264', 'mp4v'): if not vcodec: vcodec = full_codec - elif codec in ('mp4a', 'opus', 'vorbis', 'mp3', 'aac', 'ac-3'): + elif codec in ('mp4a', 'opus', 'vorbis', 'mp3', 'aac', 'ac-3', 'ec-3', 'eac3', 'dtsc', 'dtse', 'dtsh', 'dtsl'): if not acodec: acodec = full_codec else: - write_string('WARNING: Unknown codec %s' % full_codec, sys.stderr) + write_string('WARNING: Unknown codec %s\n' % full_codec, sys.stderr) if not vcodec and not acodec: if len(splited_codecs) == 2: return { |