watch_extraction.py: fix conditional

This commit is contained in:
Jesus E 2023-06-17 16:25:34 -04:00
parent 93b58efa0e
commit 21224c8dae
No known key found for this signature in database
GPG Key ID: 159C8F8BC9AED8B6

View File

@ -426,6 +426,7 @@ def update_format_with_codec_info(fmt, codec):
elif (codec.startswith('mp4a') elif (codec.startswith('mp4a')
or codec in ('opus', 'mp3', 'aac', 'dtse', 'ec-3', 'vorbis', or codec in ('opus', 'mp3', 'aac', 'dtse', 'ec-3', 'vorbis',
'ac-3')): 'ac-3')):
conservative_update(fmt, 'acodec', codec)
else: else:
print('Warning: unrecognized codec: ' + codec) print('Warning: unrecognized codec: ' + codec)