Skip to content

Commit

Permalink
Merge pull request #640 from deuteronomy-works/master
Browse files Browse the repository at this point in the history
Merged
  • Loading branch information
amoh-godwin authored Apr 28, 2023
2 parents cf8c30a + 61e03f8 commit 563e483
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyffmpeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,11 @@ def options(self, opts):
[options])

# add ffmpeg
# Put into brackets
_ffmpeg_file = '"' + self._ffmpeg_file + '"'
# Put into brackets if contain spaces
if " " in self._ffmpeg_file:
_ffmpeg_file = '"' + self._ffmpeg_file + '"'
else:
_ffmpeg_file = self._ffmpeg_file
options = " ".join([_ffmpeg_file, options])

if self.enable_log:
Expand Down

0 comments on commit 563e483

Please sign in to comment.