Permalink
Browse files

Change avsync_adjustment to use frame_interval instead of refreshrate…

… when audio is way behind.

Patch by Mark Spieth.

Refs #7964.
  • Loading branch information...
1 parent 49510a8 commit 8fd44c8f6b0c7c2053a61c2590c781961023c8bb @tralph tralph committed Jan 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/mythplayer.cpp
@@ -1860,7 +1860,7 @@ void MythPlayer::AVSync(VideoFrame *buffer, bool limit_delay)
{
// If audio is way behind of video, adjust for it...
// by cutting the frame rate in half for the length of this frame
- avsync_adjustment = refreshrate;
+ avsync_adjustment = frame_interval;
lastsync = true;
VERBOSE(VB_PLAYBACK, LOC +
QString("Video is %1 frames ahead of audio,\n"

0 comments on commit 8fd44c8

Please sign in to comment.