Allow AV1 as a choice

This commit is contained in:
tcely 2025-02-21 07:26:53 -05:00 committed by GitHub
parent 1f0169ae4b
commit a49c0c1b09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -237,7 +237,7 @@ class Source(models.Model):
_('source video codec'), _('source video codec'),
max_length=8, max_length=8,
db_index=True, db_index=True,
choices=list(reversed(YouTube_VideoCodec.choices[1:])), choices=list(reversed(YouTube_VideoCodec.choices)),
default=YouTube_VideoCodec.VP9, default=YouTube_VideoCodec.VP9,
help_text=_('Source video codec, desired video encoding format to download (ignored if "resolution" is audio only)') help_text=_('Source video codec, desired video encoding format to download (ignored if "resolution" is audio only)')
) )