projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6422c
)
[utils] add ac-3 to the list of audio codecs in parse_codecs
author
Remita Amine
<remitamine@gmail.com>
Thu, 25 Aug 2016 07:33:16 +0000
(08:33 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 25 Aug 2016 07:49:44 +0000
(08:49 +0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 41ca562f1c3df7af9eb901eb636af2af34020d4d..1091f17f32d3e8ba86b1a0c468e1564c8199e3f2 100644
(file)
--- 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: