[mythtv-commits] [MythTV/mythtv] dd96d6: AvFormatDecoder: Improve video frame rate selection

Mark Kendall noreply at github.com
Wed Jan 15 17:07:24 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: dd96d683a6143ac64ced9869647f940979dfea82
      https://github.com/MythTV/mythtv/commit/dd96d683a6143ac64ced9869647f940979dfea82
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.h

  Log Message:
  -----------
  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.




More information about the mythtv-commits mailing list