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

Peter Bennett noreply at github.com
Fri Feb 15 19:53:49 UTC 2019


  Branch: refs/heads/fixes/30
  Home:   https://github.com/MythTV/mythtv
  Commit: f0644ebd2a33f096dc1b8d97b36a22804d913c5f
      https://github.com/MythTV/mythtv/commit/f0644ebd2a33f096dc1b8d97b36a22804d913c5f
  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.

(cherry picked from commit 90b4ec347fd01e40f97427de8ab261f74e9b2d68)


  Commit: 5100ef5870eed4012e02c0d62d4adb1f20c0f312
      https://github.com/MythTV/mythtv/commit/5100ef5870eed4012e02c0d62d4adb1f20c0f312
  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

(cherry picked from commit 6b402ca5a3b8c45c9ee190aaaf0e63a0d5548855)


Compare: https://github.com/MythTV/mythtv/compare/f7b66345c5da...5100ef5870ee


More information about the mythtv-commits mailing list