Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix audio sync.

Fixes #11440

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
(cherry picked from commit 9ec7421)
  • Loading branch information...
commit 9da9dc85d03c3904862a42904537a21c723e148f 1 parent 9b412a7
@k-ross k-ross authored jyavenard committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/libs/libmyth/audio/audiooutputbase.cpp
View
2  mythtv/libs/libmyth/audio/audiooutputbase.cpp
@@ -1122,7 +1122,7 @@ void AudioOutputBase::SetAudiotime(int frames, int64_t timecode)
}
audbuf_timecode =
- timecode + (effdsp ? ((frames + processframes_unstretched * 100000) +
+ timecode + (effdsp ? ((frames + processframes_unstretched) * 100000 +
(processframes_stretched * eff_stretchfactor)
) / effdsp : 0);
Please sign in to comment.
Something went wrong with that request. Please try again.