diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-06 17:32:26 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-11 18:58:19 +0200 |
commit | e592fd0ed13a0054d82d3a5d7ca20414cf877b94 (patch) | |
tree | 845181f606ad328b0ec8667fc25d5695ca45ec30 | |
parent | 30151944488f7b008187365c11ac043e0ba3db7d (diff) | |
download | ffmpeg-e592fd0ed13a0054d82d3a5d7ca20414cf877b94.tar.gz |
lavf/flvenc: convert commented debug log to an av_dlog call
Also add some additional info (DTS and DTS time).
-rw-r--r-- | libavformat/flvenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 9f040207a6..97c00bf79e 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -446,8 +446,8 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) uint8_t *data = NULL; int flags = -1, flags_size, ret; - // av_log(s, AV_LOG_DEBUG, "type:%d pts: %"PRId64" size:%d\n", - // enc->codec_type, timestamp, size); + av_dlog(s, "type:%s pts:%"PRId64" dts:%"PRId64" size:%d\n", + av_get_media_type_string(enc->codec_type), pkt->pts, pkt->dts, size); if (enc->codec_id == AV_CODEC_ID_VP6 || enc->codec_id == AV_CODEC_ID_VP6F || enc->codec_id == AV_CODEC_ID_VP6A || enc->codec_id == AV_CODEC_ID_AAC) |