Skip to content

Commit

Permalink
sync range midpoint for tv and replay needs to be the same
Browse files Browse the repository at this point in the history
  • Loading branch information
j1rie committed Jun 10, 2016
1 parent 9899f62 commit 4362c1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions video.c
Expand Up @@ -5199,8 +5199,8 @@ static void VaapiSyncDecoder(VaapiDecoder * decoder)

diff = video_clock - audio_clock - VideoAudioDelay;
// FIXME: for Rai SD on Hotbird 110 are needed
upper_limit = !IsReplay() ? 55 : 15;
lower_limit = !IsReplay() ? -25 : -8;
upper_limit = !IsReplay() ? 44 : 15;
lower_limit = !IsReplay() ? -36 : -8;
if (!IsReplay()) {
diff = (decoder->LastAVDiff + diff) / 2;
decoder->LastAVDiff = diff;
Expand Down Expand Up @@ -8940,8 +8940,8 @@ static void VdpauSyncDecoder(VdpauDecoder * decoder)

diff = video_clock - audio_clock - VideoAudioDelay;
// FIXME: for Rai SD on Hotbird 110 are needed
upper_limit = !IsReplay() ? 55 : 15;
lower_limit = !IsReplay() ? -25 : -8;
upper_limit = !IsReplay() ? 44 : 15;
lower_limit = !IsReplay() ? -36 : -8;
if (!IsReplay()) {
diff = (decoder->LastAVDiff + diff) / 2;
decoder->LastAVDiff = diff;
Expand Down

0 comments on commit 4362c1f

Please sign in to comment.