[mythtv-commits] mythtv branch master updated by pbennett. v30-Pre-333-g67a11c1

Git Repo Owner noreply at mythtv.org
Wed Nov 22 20:48:34 UTC 2017


The branch, master has been updated on the
mythtv repository by gitolite user pbennett.
       via  67a11c1599f2d4e33d4e0859dfa30ed537f8563d (commit)
      from  f26753756ef59c84773aef7244e098af3477d276 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 67a11c1599f2d4e33d4e0859dfa30ed537f8563d
Author:    Brad Martin <mythtv at fatlxception.org> at Wed, 22 Nov 2017 15:45:55 -0500
Committer: Peter Bennett <pbennett at mythtv.org> at Wed, 22 Nov 2017 15:45:55 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=67a11c1599f2d4e33d4e0859dfa30ed537f8563d

mythplayer: Fix issues with vsync with time stretch
Vsync was broken with various combinations of:
 * 2x deinterlacing
 * High audio stretch factors (1.8x+)
 * Video streams using repeat_pict

This was due to a combination of:
 * avsync_predictor failing to predict the correct frame interval
 * The vsync implementation trying to clamp the frame delay to a small
   multiple of the wrong frame interval, due to getting out sync with
   the interval and interlace setting at any given moment.

With this change, the vsync method no longer tries to independently
track the frame interval and interlace setting; instead, this is
passed on a frame-by-frame basis.

Fixes #13176

Signed-off-by: Peter Bennett <pbennett at mythtv.org>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/mythplayer.cpp |   22 +++-----
 mythtv/libs/libmythtv/vsync.cpp      |   88 +++++++++++++++-------------------
 mythtv/libs/libmythtv/vsync.h        |   47 +++++++-----------
 3 files changed, 65 insertions(+), 92 deletions(-)

-- 



More information about the mythtv-commits mailing list