Permalink
Browse files

Merge pull request #3815 from ndogxj/patch-1

[AML] Fix pts error correction logic
  • Loading branch information...
2 parents 5824572 + 3039a3a commit e4ce605532d2865735b0d150132a7c7ae3a8e371 @davilla davilla committed Dec 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp
@@ -1836,10 +1836,10 @@ void CAMLCodec::Process()
double error = app_pts - (double)pts_video/PTS_FREQ;
double abs_error = fabs(error);
- if (abs_error > 0.150)
+ if (abs_error > 0.125)
{
//CLog::Log(LOGDEBUG, "CAMLCodec::Process pts diff = %f", error);
- if (abs_error > 0.125)
+ if (abs_error > 0.150)
{
// big error so try to reset pts_pcrscr
SetVideoPtsSeconds(app_pts);

0 comments on commit e4ce605

Please sign in to comment.