-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we try to create a new key frame for a cut point, we would only avoid doing that if the cut point position is *exactly* on a key frame. Due to how things work, sometimes we may have a request to create a cut point at a point in time in between frames. If this happens to be less than a frame before a key frame, the result will then be a zero-sized "recoded" file, which ffmpeg barfs on when we try to concatenate the files later. Fix by exiting early if the requested cut point is less than a frame before a key frame.
- Loading branch information
Showing
1 changed file
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters