From 2803574b2bd9afa0e08c8cabd81f58498adec856 Mon Sep 17 00:00:00 2001 From: VisualPlugin Date: Fri, 25 Aug 2023 07:55:43 +0000 Subject: [PATCH] Added 'kwargs' option to 'overwrite_output' --- ffmpeg/_ffmpeg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()