diff --git a/ffmpeg/_ffmpeg.py b/ffmpeg/_ffmpeg.py index 007624b..00a5c50 100644 --- a/ffmpeg/_ffmpeg.py +++ b/ffmpeg/_ffmpeg.py @@ -39,12 +39,12 @@ def global_args(stream, *args): @output_operator() -def overwrite_output(stream): +def overwrite_output(stream, **kwargs): """Overwrite output files without asking (ffmpeg ``-y`` option) Official documentation: `Main options `__ """ - return GlobalNode(stream, overwrite_output.__name__, ['-y']).stream() + return GlobalNode(stream, overwrite_output.__name__, ['-y'], kwargs=kwargs).stream() @output_operator()