aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-08 00:41:12 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-08 00:45:25 +0200
commit8543f0f923eb1d476b14444e1cc8034f08ebcdda (patch)
tree98091c9f3f011db3082260cbec2b8c9e76f20324
parent4de83b7b6d3ba321877f69621ef0de497384060c (diff)
downloadffmpeg-8543f0f923eb1d476b14444e1cc8034f08ebcdda.tar.gz
ffplay: Fix non-compiling debug printf and replace it by av_dlog.
-rw-r--r--ffplay.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ffplay.c b/ffplay.c
index 4ccad0618d..5700883828 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;
}