Skip to content

Commit 6992500

Browse files
committed
remove piped formats from ffmpeg list
1 parent 32bea55 commit 6992500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/handlers/FFmpeg.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ class FFmpegHandler implements FormatHandler {
118118
const description = parts.slice(2).join(" ");
119119
const formats = parts[1].split(",");
120120

121+
if (description.startsWith("piped ")) continue;
122+
121123
for (const format of formats) {
122124

123125
let primaryFormat = formats[0];

0 commit comments

Comments
 (0)