From 8543f0f923eb1d476b14444e1cc8034f08ebcdda Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 8 Jun 2011 00:41:12 +0200 Subject: [PATCH] ffplay: Fix non-compiling debug printf and replace it by av_dlog. --- ffplay.c | 7 +++---- 1 file 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; }