aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-03-04 19:41:44 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-03-04 19:49:38 +0530
commita10aa588b061cd50024f6c0a02e66af640801d20 (patch)
treeab977bb609abdf0c4e57237b28d8fe0dbb9a6c32
parentbe8cd3cb1d013754950907904c52ae401c6e84fc (diff)
downloadhypervideo-pre-a10aa588b061cd50024f6c0a02e66af640801d20.tar.lz
hypervideo-pre-a10aa588b061cd50024f6c0a02e66af640801d20.tar.xz
hypervideo-pre-a10aa588b061cd50024f6c0a02e66af640801d20.zip
[FormatSort] Consider `acodec`=`ogg` as `vorbis`
-rw-r--r--yt_dlp/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 6c1fe55f8..dbf5ef8d4 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -1618,7 +1618,7 @@ class InfoExtractor(object):
'vcodec': {'type': 'ordered', 'regex': True,
'order': ['av0?1', 'vp0?9.2', 'vp0?9', '[hx]265|he?vc?', '[hx]264|avc', 'vp0?8', 'mp4v|h263', 'theora', '', None, 'none']},
'acodec': {'type': 'ordered', 'regex': True,
- 'order': ['[af]lac', 'wav|aiff', 'opus', 'vorbis', 'aac', 'mp?4a?', 'mp3', 'e-?a?c-?3', 'ac-?3', 'dts', '', None, 'none']},
+ 'order': ['[af]lac', 'wav|aiff', 'opus', 'vorbis|ogg', 'aac', 'mp?4a?', 'mp3', 'e-?a?c-?3', 'ac-?3', 'dts', '', None, 'none']},
'hdr': {'type': 'ordered', 'regex': True, 'field': 'dynamic_range',
'order': ['dv', '(hdr)?12', r'(hdr)?10\+', '(hdr)?10', 'hlg', '', 'sdr', None]},
'proto': {'type': 'ordered', 'regex': True, 'field': 'protocol',