Skip to content

Commit

Permalink
Merge pull request #637 from deuteronomy-works/development
Browse files Browse the repository at this point in the history
Closes #635
  • Loading branch information
amoh-godwin authored Apr 28, 2023
2 parents dcb79b5 + 9b11cb1 commit 61e03f8
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 61e03f8

Please sign in to comment.