aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-25 08:33:16 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-25 08:49:44 +0100
commit073ac1225f6fe28905e11f29f2d23f4b4db50f9c (patch)
tree625e924aeffa621fda8293c0add0b1c1c7d3dfbc
parent0c6422cdd649c6f39cb2d8680e29f91da18d8c57 (diff)
[utils] add ac-3 to the list of audio codecs in parse_codecs
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 41ca562f1..1091f17f3 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -2183,7 +2183,7 @@ 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'):
+ elif codec in ('mp4a', 'opus', 'vorbis', 'mp3', 'aac', 'ac-3'):
if not acodec:
acodec = full_codec
else: