diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-03-15 15:12:15 +0300 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-03-17 09:29:57 +0300 |
commit | 70abc32314b220cbf4d0a087e52b6ea43bb36b96 (patch) | |
tree | b4e9b587021952a1c57a5d12eae44c7642060713 /libavformat | |
parent | 79f43a8cb6ff426e706a4cf4f21ad6dd7ebf3467 (diff) |
lavf: enable av_dlog message in av_interleaved_write_frame()
Help debugging timestamp issues.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d541c8b468c12892fe7b7e655e1ed45e11e2166d)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d5372d7233..38ff809246 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3093,7 +3093,8 @@ int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt){ if(st->codec->codec_type == AVMEDIA_TYPE_AUDIO && pkt->size==0) return 0; -//av_log(NULL, AV_LOG_DEBUG, "av_interleaved_write_frame %d %"PRId64" %"PRId64"\n", pkt->size, pkt->dts, pkt->pts); + av_dlog(s, "av_interleaved_write_frame size:%d dts:%"PRId64" pts:%"PRId64"\n", + pkt->size, pkt->dts, pkt->pts); if(compute_pkt_fields2(s, st, pkt) < 0 && !(s->oformat->flags & AVFMT_NOTIMESTAMPS)) return -1; |