mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 10:25:33 +00:00
parent
c49f63aa22
commit
5f5c21d7ff
1 changed files with 2 additions and 2 deletions
|
|
@ -259,8 +259,8 @@ def setup_remote_command(target_host):
|
|||
|
||||
# Parse and re-quote any problematic arguments
|
||||
for arg in cli_ffmpeg_args:
|
||||
# Match bad shell characters: * ( ) whitespace
|
||||
if re.search("[*()\s|\[\]]", arg):
|
||||
# Match bad shell characters: * ' ( ) whitespace
|
||||
if re.search("[*'()\s|\[\]]", arg):
|
||||
rffmpeg_ffmpeg_command.append('"{}"'.format(arg))
|
||||
else:
|
||||
rffmpeg_ffmpeg_command.append("{}".format(arg))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue