@ -954,7 +954,7 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st,
}
}
if ( pktl & & pktl - > pkt . dts ! = st - > first_dts ) {
av_log ( s , AV_LOG_DEBUG , " first_dts %s not matching first dts %s (pts %s, duration %d) in the queue \n " ,
av_log ( s , AV_LOG_DEBUG , " first_dts %s not matching first dts %s (pts %s, duration % " PRI d64 " ) in the queue \n " ,
av_ts2str ( st - > first_dts ) , av_ts2str ( pktl - > pkt . dts ) , av_ts2str ( pktl - > pkt . pts ) , pktl - > pkt . duration ) ;
return ;
}
@ -1094,7 +1094,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
if ( s - > debug & FF_FDEBUG_TS )
av_log ( s , AV_LOG_TRACE ,
" IN delayed:%d pts:%s, dts:%s cur_dts:%s st:%d pc:%p duration:%d delay:%d onein_oneout:%d \n " ,
" IN delayed:%d pts:%s, dts:%s cur_dts:%s st:%d pc:%p duration:% " PRI d64 " delay:%d onein_oneout:%d \n " ,
presentation_delayed , av_ts2str ( pkt - > pts ) , av_ts2str ( pkt - > dts ) , av_ts2str ( st - > cur_dts ) ,
pkt - > stream_index , pc , pkt - > duration , delay , onein_oneout ) ;
@ -1167,8 +1167,12 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
/* update flags */
if ( is_intra_only ( st - > codec ) )
pkt - > flags | = AV_PKT_FLAG_KEY ;
# if FF_API_CONVERGENCE_DURATION
FF_DISABLE_DEPRECATION_WARNINGS
if ( pc )
pkt - > convergence_duration = pc - > convergence_duration ;
FF_ENABLE_DEPRECATION_WARNINGS
# endif
}
static void free_packet_buffer ( AVPacketList * * pkt_buf , AVPacketList * * pkt_buf_end )
@ -1348,7 +1352,7 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
}
if ( s - > debug & FF_FDEBUG_TS )
av_log ( s , AV_LOG_DEBUG ,
" ff_read_packet stream=%d, pts=%s, dts=%s, size=%d, duration=%d, flags=%d \n " ,
" ff_read_packet stream=%d, pts=%s, dts=%s, size=%d, duration=% " PRI d64 " , flags=%d \n " ,
cur_pkt . stream_index ,
av_ts2str ( cur_pkt . pts ) ,
av_ts2str ( cur_pkt . dts ) ,
@ -1460,7 +1464,7 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
if ( s - > debug & FF_FDEBUG_TS )
av_log ( s , AV_LOG_DEBUG ,
" read_frame_internal stream=%d, pts=%s, dts=%s, "
" size=%d, duration=%d, flags=%d \n " ,
" size=%d, duration=% " PRI d64 " , flags=%d \n " ,
pkt - > stream_index ,
av_ts2str ( pkt - > pts ) ,
av_ts2str ( pkt - > dts ) ,