Fix Issue 5: allow file name to start with '-'

Issue 5:  ffmpegwrapper fails to process files which starts with '-'
This commit is contained in:
lxylxy123456 2018-01-04 23:45:29 +08:00 committed by GitHub
parent 42827ea4f0
commit b605d493a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):