Compare commits

..

2 commits

View file

@ -194,7 +194,7 @@ async function download(url, interaction, originalInteraction, format = undefine
// If the video format is not one compatible with Discord, reencode it unless autocrop is choosen in which case it gets reencoded anyway. // If the video format is not one compatible with Discord, reencode it unless autocrop is choosen in which case it gets reencoded anyway.
if (!interaction.doAutocrop) { if (!interaction.doAutocrop) {
const bannedFormats = ['hevc']; const bannedFormats = ['av1'];
const codec = await utils.getVideoCodec(output); const codec = await utils.getVideoCodec(output);
if (bannedFormats.includes(codec)) { if (bannedFormats.includes(codec)) {