diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-08 00:41:12 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-08 00:45:25 +0200 |
commit | 8543f0f923eb1d476b14444e1cc8034f08ebcdda (patch) | |
tree | 98091c9f3f011db3082260cbec2b8c9e76f20324 | |
parent | 4de83b7b6d3ba321877f69621ef0de497384060c (diff) | |
download | ffmpeg-8543f0f923eb1d476b14444e1cc8034f08ebcdda.tar.gz |
ffplay: Fix non-compiling debug printf and replace it by av_dlog.
-rw-r--r-- | ffplay.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; } |