Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
8c6fde8c17
commit
aebb56e184
@ -2084,22 +2084,20 @@ static void estimate_timings(AVFormatContext *ic, int64_t old_offset)
|
||||
}
|
||||
update_stream_timings(ic);
|
||||
|
||||
#if 0
|
||||
{
|
||||
int i;
|
||||
AVStream av_unused *st;
|
||||
for(i = 0;i < ic->nb_streams; i++) {
|
||||
st = ic->streams[i];
|
||||
printf("%d: start_time: %0.3f duration: %0.3f\n",
|
||||
i, (double)st->start_time / AV_TIME_BASE,
|
||||
(double)st->duration / AV_TIME_BASE);
|
||||
av_dlog(ic, "%d: start_time: %0.3f duration: %0.3f\n", i,
|
||||
(double) st->start_time / AV_TIME_BASE,
|
||||
(double) st->duration / AV_TIME_BASE);
|
||||
}
|
||||
printf("stream: start_time: %0.3f duration: %0.3f bitrate=%d kb/s\n",
|
||||
(double)ic->start_time / AV_TIME_BASE,
|
||||
(double)ic->duration / AV_TIME_BASE,
|
||||
ic->bit_rate / 1000);
|
||||
av_dlog(ic, "stream: start_time: %0.3f duration: %0.3f bitrate=%d kb/s\n",
|
||||
(double) ic->start_time / AV_TIME_BASE,
|
||||
(double) ic->duration / AV_TIME_BASE,
|
||||
ic->bit_rate / 1000);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static int has_codec_parameters(AVCodecContext *avctx)
|
||||
|
Reference in New Issue
Block a user