[mythtv-firehose] mythtv/jyavenard/backports/fixes/0.24 commit: 5180d2612 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Fri Jul 22 17:17:34 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-07-22T10:17:04-07:00
   Push Date:  2011/07/22 10:17:29 -0700
  Repository:  mythtv
      Branch:  jyavenard/backports/fixes/0.24
New Revision:  5180d2612fa30852f87ec7ec42b605900da10cb3
   Changeset:  https://github.com/MythTV/mythtv/commit/5180d2612

Log:

Make the audio sync adjustment persistent.

This saves any manual av sync adjustment to the database and retrieves
any stored value at the start of playback without adding an additional
setting to the audio/playback settings.

The fix will not suit all - for example where an offset is required only
for certain audio codecs - but it is consistent with the current
approach and probably addresses the most common problem.

This additionally removes the savedAudioTimecodeOffset variable and
ensures the offset is always restored after a seek - which is one less
thing to worry about when the code is changed and fixes at least one
instance where the offset was not being restored. Calls to
ClearAfterSeek that were previously not saving the offset first were
either broken or the audio offset is not important (e.g. preview
generator).

git-svn-id: http://svn.mythtv.org/svn/trunk@27148 7dbf422c-18fa-0310-86e9-fd20926502f2

Backport: SHA:9dbe19fb

Modified:

   mythtv/libs/libmythtv/mythdvdplayer.cpp
   mythtv/libs/libmythtv/mythplayer.cpp
   mythtv/libs/libmythtv/mythplayer.h



More information about the mythtv-firehose mailing list