-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #780, hanging when the estimated frame count is lower
This problem used to be more severe, but has become less frequent with our fix for #1132 The problem happens because we used to take `frame_count` as an absolute truth, and we would iterate until we had processed that many frames. However, as we've learnt, this is just an estimate: it can happen that the `Decoder` thread is done before we hit that frame count. With this change, we detect that scenario, and gracefully finish the rendering process, making sure that all pending frames have been read and processed and get written in the final stream.
- Loading branch information
1 parent
be2cb43
commit 093f0d1
Showing
3 changed files
with
22 additions
and
10 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
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