Merge pull request #28933 from giannafusaro/fluent-ffmpeg-make-stream-argument-to-pipe-command-optional

Fluent-ffmpeg - Make the stream argument for the pipe function optional
This commit is contained in:
Andrew Casey
2018-09-24 16:41:53 -07:00
committed by GitHub
+1 -1
View File
@@ -292,7 +292,7 @@ declare namespace Ffmpeg {
saveToFile(output: string): FfmpegCommand;
save(output: string): FfmpegCommand;
writeToStream(stream: stream.Writable, options?: { end?: boolean }): stream.Writable;
pipe(stream: stream.Writable, options?: { end?: boolean }): stream.Writable;
pipe(stream?: stream.Writable, options?: { end?: boolean }): stream.Writable|stream.PassThrough;
stream(stream: stream.Writable, options?: { end?: boolean }): stream.Writable;
takeScreenshots(config: number | ScreenshotsConfig, folder?: string): FfmpegCommand;
thumbnail(config: number | ScreenshotsConfig, folder?: string): FfmpegCommand;