[FFmpeg-cvslog] ffplay: Fix non-compiling debug printf and replace it by av_dlog.

Diego Biurrun git at videolan.org
Wed Jun 8 05:31:37 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Jun  8 00:41:12 2011 +0200| [8543f0f923eb1d476b14444e1cc8034f08ebcdda] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8543f0f923eb1d476b14444e1cc8034f08ebcdda
---

 ffplay.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 4ccad06..5700883 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;
 }



More information about the ffmpeg-cvslog mailing list