Skip to content

Commit

Permalink
FFmpegProcessor uses container specific option for mkv/webm to avoid …
Browse files Browse the repository at this point in the history
…negative time codes (resolves issue #75).
  • Loading branch information
eseifert committed Sep 15, 2018
1 parent ab90f5a commit 6ea0f25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions madam/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ class FFmpegProcessor(Processor):
MimeType('video/quicktime'): [
'-movflags', '+faststart',
],
MimeType('video/x-matroska'): [
'-avoid_negative_ts', '1',
],
}

def __init__(self):
Expand Down

0 comments on commit 6ea0f25

Please sign in to comment.