aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-11-27 16:53:42 +0100
committerRemita Amine <remitamine@gmail.com>2017-11-27 16:55:27 +0100
commitffe6979ef925cb8b2e9324c2ad4635cb01d45ab7 (patch)
treeb367f5ef1ef13d716be5f31269a3d43690e62f2a /youtube_dl
parentdafb4c66476754a46cc83fa750e9237da8fbf595 (diff)
[utils] add hvc1 codec code to parse_codecs
Diffstat (limited to 'youtube_dl')
-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 34866a54b..febc9d26f 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -2372,7 +2372,7 @@ def parse_codecs(codecs_str):
vcodec, acodec = None, None
for full_codec in splited_codecs:
codec = full_codec.split('.')[0]
- if codec in ('avc1', 'avc2', 'avc3', 'avc4', 'vp9', 'vp8', 'hev1', 'hev2', 'h263', 'h264', 'mp4v'):
+ if codec in ('avc1', 'avc2', 'avc3', 'avc4', 'vp9', 'vp8', 'hev1', 'hev2', 'h263', 'h264', 'mp4v', 'hvc1'):
if not vcodec:
vcodec = full_codec
elif codec in ('mp4a', 'opus', 'vorbis', 'mp3', 'aac', 'ac-3', 'ec-3', 'eac3', 'dtsc', 'dtse', 'dtsh', 'dtsl'):