diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-08-21 12:40:41 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-01 10:24:28 +0200 |
commit | 72eaba5e4ffeba16ec0a7ee7a042b3205840b1d1 (patch) | |
tree | b006de89e1eed325843629e86d659f20e377f6bf /libavformat/mpegenc.c | |
parent | 11d4e92ed929f092c6ecc8775b0ba340ccd7179d (diff) | |
download | ffmpeg-72eaba5e4ffeba16ec0a7ee7a042b3205840b1d1.tar.gz |
avformat: Convert some commented-out printf/av_log instances to av_dlog
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index acb9b7e372..4f7bde848c 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -1003,7 +1003,10 @@ retry: } if(timestamp_packet){ -//av_log(ctx, AV_LOG_DEBUG, "dts:%f pts:%f scr:%f stream:%d\n", timestamp_packet->dts/90000.0, timestamp_packet->pts/90000.0, scr/90000.0, best_i); + av_dlog(ctx, "dts:%f pts:%f scr:%f stream:%d\n", + timestamp_packet->dts / 90000.0, + timestamp_packet->pts / 90000.0, + scr / 90000.0, best_i); es_size= flush_packet(ctx, best_i, timestamp_packet->pts, timestamp_packet->dts, scr, trailer_size); }else{ assert(av_fifo_size(stream->fifo) == trailer_size); @@ -1062,7 +1065,9 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt) dts += 2*preload; } -//av_log(ctx, AV_LOG_DEBUG, "dts:%f pts:%f flags:%d stream:%d nopts:%d\n", dts/90000.0, pts/90000.0, pkt->flags, pkt->stream_index, pts != AV_NOPTS_VALUE); + av_dlog(ctx, "dts:%f pts:%f flags:%d stream:%d nopts:%d\n", + dts / 90000.0, pts / 90000.0, pkt->flags, + pkt->stream_index, pts != AV_NOPTS_VALUE); if (!stream->premux_packet) stream->next_packet = &stream->premux_packet; *stream->next_packet= |