Fix Issue 5: allow file name to start with '-'
Issue 5: ffmpegwrapper fails to process files which starts with '-'
This commit is contained in:
parent
42827ea4f0
commit
b605d493a5
|
|
@ -55,7 +55,7 @@ class Output(ParameterContainer):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
return chain(ParameterContainer.__iter__(self), [self.file_path])
|
return chain(ParameterContainer.__iter__(self), ['--', self.file_path])
|
||||||
|
|
||||||
|
|
||||||
class FFmpegProcess(object):
|
class FFmpegProcess(object):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue