mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-25 16:21:13 +00:00
lavf: print some more things in TS debug statements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b5d433d306
commit
ae3ee72e02
@ -1034,7 +1034,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
|||||||
if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts > pkt->dts)
|
if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts > pkt->dts)
|
||||||
presentation_delayed = 1;
|
presentation_delayed = 1;
|
||||||
|
|
||||||
// av_log(NULL, AV_LOG_DEBUG, "IN delayed:%d pts:%"PRId64", dts:%"PRId64" cur_dts:%"PRId64" st:%d pc:%p\n", presentation_delayed, pkt->pts, pkt->dts, st->cur_dts, pkt->stream_index, pc);
|
// av_log(NULL, AV_LOG_DEBUG, "IN delayed:%d pts:%"PRId64", dts:%"PRId64" cur_dts:%"PRId64" st:%d pc:%p duration:%d\n", presentation_delayed, pkt->pts, pkt->dts, st->cur_dts, pkt->stream_index, pc, pkt->duration);
|
||||||
/* interpolate PTS and DTS if they are not present */
|
/* interpolate PTS and DTS if they are not present */
|
||||||
//We skip H264 currently because delay and has_b_frames are not reliably set
|
//We skip H264 currently because delay and has_b_frames are not reliably set
|
||||||
if((delay==0 || (delay==1 && pc)) && st->codec->codec_id != CODEC_ID_H264){
|
if((delay==0 || (delay==1 && pc)) && st->codec->codec_id != CODEC_ID_H264){
|
||||||
|
Loading…
Reference in New Issue
Block a user