mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
ffmpeg: explicitly set stdin to null
This commit is contained in:
parent
aeaa60df45
commit
7ecca587a9
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ export function ffmpeg(input: URL | ReadableStream<Uint8Array>, flags: FFmpegFla
|
||||||
// Spawn the FFmpeg process
|
// Spawn the FFmpeg process
|
||||||
const command = new Deno.Command('ffmpeg', {
|
const command = new Deno.Command('ffmpeg', {
|
||||||
args,
|
args,
|
||||||
stdin: input instanceof ReadableStream ? 'piped' : undefined,
|
stdin: input instanceof ReadableStream ? 'piped' : 'null',
|
||||||
stdout: 'piped',
|
stdout: 'piped',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue