summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
commit045dd4b9287551443e655b313417fd776f52aab0 (patch)
tree54581408e4fba906927eda540049b2fd924b71a2 /libavformat/mpegenc.c
parentd1be646e906487b395190af1d6dd8d33c22bf25f (diff)
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 0e0164511a..28ca1cbd5b 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -662,10 +662,7 @@ static int flush_packet(AVFormatContext *ctx, int stream_index,
id = stream->id;
-#if 0
- printf("packet ID=%2x PTS=%0.3f\n",
- id, pts / 90000.0);
-#endif
+ av_dlog(ctx, "packet ID=%2x PTS=%0.3f\n", id, pts / 90000.0);
buf_ptr = buffer;
@@ -1078,10 +1075,8 @@ retry:
best_dts= pkt_desc->dts;
}
-#if 0
- av_log(ctx, AV_LOG_DEBUG, "bumping scr, scr:%f, dts:%f\n",
- scr/90000.0, best_dts/90000.0);
-#endif
+ av_dlog(ctx, AV_LOG_DEBUG, "bumping scr, scr:%f, dts:%f\n",
+ scr / 90000.0, best_dts / 90000.0);
if(best_dts == INT64_MAX)
return 0;