ffplay: Fix non-compiling debug printf and replace it by av_dlog.

This commit is contained in:
Diego Biurrun 2011-06-08 00:41:12 +02:00
parent 4de83b7b6d
commit 8543f0f923
1 changed files with 3 additions and 4 deletions

View File

@ -1062,10 +1062,9 @@ static double compute_target_time(double frame_current_pts, VideoState *is)
}
}
is->frame_timer += delay;
#if defined(DEBUG_SYNC)
printf("video: delay=%0.3f actual_delay=%0.3f pts=%0.3f A-V=%f\n",
delay, actual_delay, frame_current_pts, -diff);
#endif
av_dlog(NULL, "video: delay=%0.3f pts=%0.3f A-V=%f\n",
delay, frame_current_pts, -diff);
return is->frame_timer;
}