Compare commits
2 commits
c0507dc981
...
19855f82f0
Author | SHA1 | Date | |
---|---|---|---|
19855f82f0 | |||
9855987cbc |
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue