summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-20 03:19:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-20 03:19:47 +0200
commit40d552dae657d2d690a724c8b1e7ea714998d74f (patch)
tree43534ea3562526771f95b821b9e8cbbd7573d24e /libavformat/mpegenc.c
parent8e8219e0f0725116809cdd1c17c868cb08da0dec (diff)
parent1a3eb042c704dea190c644def5b32c9cee8832b8 (diff)
downloadffmpeg-40d552dae657d2d690a724c8b1e7ea714998d74f.tar.gz
Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8'
* commit '1a3eb042c704dea190c644def5b32c9cee8832b8': Replace av_dlog with normal av_log at trace level Conflicts: ffplay.c libavdevice/fbdev_dec.c libavfilter/avfilter.c libavfilter/internal.h libavfilter/setpts.c libavfilter/src_movie.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_fieldorder.c libavformat/assdec.c libavformat/avidec.c libavformat/flvdec.c libavformat/http.c libavformat/ipmovie.c libavformat/isom.c libavformat/mov.c libavformat/mpegenc.c libavformat/mpegts.c libavformat/mpegtsenc.c libavformat/mux.c libavformat/mxfdec.c libavformat/nsvdec.c libavformat/oggdec.c libavformat/r3d.c libavformat/rtspdec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index b1b59edc04..af40fd3b31 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -604,7 +604,7 @@ static int flush_packet(AVFormatContext *ctx, int stream_index,
id = stream->id;
- av_dlog(ctx, "packet ID=%2x PTS=%0.3f\n", id, pts / 90000.0);
+ av_log(ctx, AV_LOG_TRACE, "packet ID=%2x PTS=%0.3f\n", id, pts / 90000.0);
buf_ptr = buffer;
@@ -1012,7 +1012,7 @@ retry:
}
if (best_dts < INT64_MAX) {
- av_dlog(ctx, "bumping scr, scr:%f, dts:%f\n",
+ av_log(ctx, AV_LOG_TRACE, "bumping scr, scr:%f, dts:%f\n",
scr / 90000.0, best_dts / 90000.0);
if (scr >= best_dts + 1 && !ignore_constraints) {
@@ -1052,7 +1052,7 @@ retry:
}
if (timestamp_packet) {
- av_dlog(ctx, "dts:%f pts:%f scr:%f stream:%d\n",
+ av_log(ctx, AV_LOG_TRACE, "dts:%f pts:%f scr:%f stream:%d\n",
timestamp_packet->dts / 90000.0,
timestamp_packet->pts / 90000.0,
scr / 90000.0, best_i);
@@ -1132,7 +1132,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt)
if (dts != AV_NOPTS_VALUE) dts += preload;
if (pts != AV_NOPTS_VALUE) pts += preload;
- av_dlog(ctx, "dts:%f pts:%f flags:%d stream:%d nopts:%d\n",
+ av_log(ctx, AV_LOG_TRACE, "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)