[mythtv-commits] [MythTV/mythtv] bf60e3: cppcheck: Suppress a few false positives

Mark Kendall noreply at github.com
Thu Mar 5 16:32:06 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: bf60e3109fbc983b3f433ef6a277c90c16003158
      https://github.com/MythTV/mythtv/commit/bf60e3109fbc983b3f433ef6a277c90c16003158
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythbase/mythdeque.h
    M mythtv/libs/libmythbase/portchecker.cpp
    M mythtv/libs/libmythtv/HLS/m3u.cpp

  Log Message:
  -----------
  cppcheck: Suppress a few false positives


  Commit: 780555dc5676d2a5c8883ef78fed5156b402fa19
      https://github.com/MythTV/mythtv/commit/780555dc5676d2a5c8883ef78fed5156b402fa19
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/videodisplayprofile.cpp
    M mythtv/libs/libmythtv/videodisplayprofile.h

  Log Message:
  -----------
  VideoDisplayProfile: Extend Setinput to disregard decoders

- which will be used to fallthrough to other decoders when certain
hardware decoders are unavailable


  Commit: fb01cb3f43f0f481a35abf7cfba6b4b5ccfc70c8
      https://github.com/MythTV/mythtv/commit/fb01cb3f43f0f481a35abf7cfba6b4b5ccfc70c8
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

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

  Log Message:
  -----------
  AvFormatDecoder: Fallback to alternative decoders when necessary

- if a (hardware) decoder is not available, disallow it in the
VideoDisplayProfile and try again
- note - this only works when the decoder fails pre-setup checks (which
are pretty good for most decoders except MMAL, VideoToolbox and V4L2
Codecs). A subsequent decoder failure will still fallback directly to
software decoding.
- note - this is unlikely to be useful in the vast majority of cases;
there is often only one hardware decoder available and for those
decoders, the pre-setup checks are good.
- it is also advisable to setup a 'catchall' fallback profile item that
ensures there are useful CPU and deinterlacer settings when hardware
decoding is not available.
- Refs #10602


  Commit: 4ac3a088dff2724d03e2a46d9c24f0acde1e128c
      https://github.com/MythTV/mythtv/commit/4ac3a088dff2724d03e2a46d9c24f0acde1e128c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/videodisplayprofile.cpp

  Log Message:
  -----------
  VideoDisplayProfile: Ensure each profile group has a software fallback

- and has sensible defaults (if it uses hardware decoders)


Compare: https://github.com/MythTV/mythtv/compare/cb3a4ccab690...4ac3a088dff2


More information about the mythtv-commits mailing list