Skip to content

Commit

Permalink
[AML] Fix pts error correction logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ndogxj committed Dec 12, 2013
1 parent 7a510b7 commit 3039a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 3039a3a

Please sign in to comment.