[FormatSort] Fix bug for audio with unknown codec
This commit is contained in:
parent
e4f0275711
commit
f5510afef0
2 changed files with 6 additions and 8 deletions
|
|
@ -1756,6 +1756,7 @@ class YoutubeDL(object):
|
|||
if not allow_multiple_streams[aud_vid] and fmt_info.get(aud_vid[0] + 'codec') != 'none':
|
||||
if get_no_more[aud_vid]:
|
||||
formats_info.pop(i)
|
||||
break
|
||||
get_no_more[aud_vid] = True
|
||||
|
||||
if len(formats_info) == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue