mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
lavf: enable av_dlog message in av_interleaved_write_frame()
Help debugging timestamp issues. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a7844c580d
commit
d541c8b468
@ -3092,7 +3092,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user