From b605d493a573f574b8ab6b5cc31169e55a7ea2c8 Mon Sep 17 00:00:00 2001 From: lxylxy123456 <13691419520@163.com> Date: Thu, 4 Jan 2018 23:45:29 +0800 Subject: [PATCH] Fix Issue 5: allow file name to start with '-' Issue 5: ffmpegwrapper fails to process files which starts with '-' --- ffmpegwrapper/ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpegwrapper/ffmpeg.py b/ffmpegwrapper/ffmpeg.py index f9d8120..996ef4d 100644 --- a/ffmpegwrapper/ffmpeg.py +++ b/ffmpegwrapper/ffmpeg.py @@ -55,7 +55,7 @@ class Output(ParameterContainer): return self def __iter__(self): - return chain(ParameterContainer.__iter__(self), [self.file_path]) + return chain(ParameterContainer.__iter__(self), ['--', self.file_path]) class FFmpegProcess(object):