Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AvFormatDecoder: Improve video frame rate selection
- instead of selecting one frame rate, we build a list of possible values, the most likely/preferred first - if the first choice is not a standard rate, iterate over the list and see if there is something better available. - this picks up errors from streams with some corruption, as well as picking a better default for streams with a variable frame rate. - should fix incorrect display mode switching - but further changes needed to ensure we update the display mode on frame rate changes.
- Loading branch information
1 parent
aeb97c5
commit dd96d68
Showing
2 changed files
with
77 additions
and
45 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