[mythtv-commits] [MythTV/mythtv] 90b4ec: AVSync2: Fix never-ending stutter on Live TV

Peter Bennett noreply at github.com
Fri Feb 15 19:51:08 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 90b4ec347fd01e40f97427de8ab261f74e9b2d68
      https://github.com/MythTV/mythtv/commit/90b4ec347fd01e40f97427de8ab261f74e9b2d68
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

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

  Log Message:
  -----------
  AVSync2: Fix never-ending stutter on Live TV

With AVSync2, Live TV could continue to stutter until pause
is pressed. Added a timecode reset so that it can add a small
delay to allow catch up.


  Commit: 6b402ca5a3b8c45c9ee190aaaf0e63a0d5548855
      https://github.com/MythTV/mythtv/commit/6b402ca5a3b8c45c9ee190aaaf0e63a0d5548855
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

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

  Log Message:
  -----------
  AVSync2: Improve resync speed and accuracy

1. If out of sync by more than 200 ms fix the sync more quickly.
2. Measure audio and video timecode at the same instant.
3. Base audio / video adjustment on the prior frame timecodes.
4. When there is excess audio (more than 200 ms) discard it.
5. No longer limit adjustments to when error is over 40 ms.

Fixes #13383


Compare: https://github.com/MythTV/mythtv/compare/7fd7b8443073...6b402ca5a3b8


More information about the mythtv-commits mailing list