Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix video encode in MPEG2 "lossless" transcoding
Fixes #11118 It seems that the new video encode API call pipelines the encoding, returning after each input frame, but not returning a packet the first time around in all cases. This change makes it encode the packet, and then keep calling the API until a packet has actually been encoded (flushing the output).
- Loading branch information
Showing
2 changed files
with
23 additions
and
18 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
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