Skip to content

Commit

Permalink
Update ffmpeg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-A authored Jan 20, 2024
1 parent 4b90919 commit 4c1109c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt_dlp/postprocessor/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ def make_args(file, args, name, number):
keys.append('')
args += self._configuration_args(self.basename, keys)
if name == 'i':
if determine_ext(file) == 'ass':
args.append('-fix_sub_duration')
args.append('-i')
return (
[encodeArgument(arg) for arg in args]
Expand Down

0 comments on commit 4c1109c

Please sign in to comment.