[mythtv-commits] [MythTV/mythtv] 43670b: AVRingBuffer: Replace use of avcodeclock with loca...

Mark Kendall noreply at github.com
Fri Mar 13 19:04:49 UTC 2020


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

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

  Log Message:
  -----------
  AVRingBuffer: Replace use of avcodeclock with local static


  Commit: 36d29db55fa48cfd8055c320ab91ccd03a57b416
      https://github.com/MythTV/mythtv/commit/36d29db55fa48cfd8055c320ab91ccd03a57b416
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

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

  Log Message:
  -----------
  RingBuffer: Replace use of avcodeclock with local static


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

  Changed paths:
    M mythtv/libs/libmythtv/recorders/recorderbase.cpp

  Log Message:
  -----------
  RecorderBase: Remove dead code


  Commit: 3ef7ab39f7793e392b476d926af9471e0ad44f89
      https://github.com/MythTV/mythtv/commit/3ef7ab39f7793e392b476d926af9471e0ad44f89
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

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

  Log Message:
  -----------
  TV: Revert recent PiP swap fixes

- this code will never work correctly.
- need to fix the lower level locking instead


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

  Changed paths:
    M mythtv/libs/libmythtv/mythavutil.h

  Log Message:
  -----------
  MythCodecMap: Remove unused method


  Commit: 2e9f884848edbbd8109a8baab941679d128bcbf8
      https://github.com/MythTV/mythtv/commit/2e9f884848edbbd8109a8baab941679d128bcbf8
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/Bluray/avformatdecoderbd.cpp
    M mythtv/libs/libmythtv/DVD/avformatdecoderdvd.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.h
    M mythtv/libs/libmythtv/decoders/decoderbase.cpp
    M mythtv/libs/libmythtv/decoders/decoderbase.h

  Log Message:
  -----------
  Decoder: Add lock around track data instead of avcodeclock

- over the years, avcodeclock has become the default locking mechanism
in a number of areas, which is hammering concurrency and causing lockups
with multiple players
- track data is better protected by its own, 'local' lock.
- use a QReadWrite lock for further concurrency improvements
- sundry clang tidy improvements as well (mosly casts)


Compare: https://github.com/MythTV/mythtv/compare/a440463c9960...2e9f884848ed


More information about the mythtv-commits mailing list