Skip to content

Commit

Permalink
Ignore album art
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Feb 24, 2023
1 parent 3a8a2ef commit 3333235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFProbe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class FFProbe {
const fastStart = indexOfMoov < indexOfMDat;

const hasAudio = metadata.streams.some((x) => x.codec_type === "audio");
const hasVideo = metadata.streams.some((x) => x.codec_type === "video");
const hasVideo = metadata.streams.some((x) => x.codec_type === "video" && x.codec_name !== "mjpeg");

const isAAC = hasAudio
? metadata.streams.some((x) => x.codec_name === "aac" )
Expand Down

0 comments on commit 3333235

Please sign in to comment.