Compare commits
No commits in common. "19855f82f0aa56d24b04f0c3d51aecc50b8d7fca" and "c0507dc981da70f881f83221ed0ca89841749b7d" have entirely different histories.
19855f82f0
...
c0507dc981
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 = ['av1'];
|
const bannedFormats = ['hevc'];
|
||||||
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