ffplay: Fix non-compiling debug printf and replace it by av_dlog.
authorDiego Biurrun <diego@biurrun.de>
Tue, 7 Jun 2011 22:41:12 +0000 (00:41 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 7 Jun 2011 22:45:25 +0000 (00:45 +0200)
ffplay.c

index 4ccad06..5700883 100644 (file)
--- 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;
 }