mpegpsenc: show first SCR/DTS at debug level

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-01-04 20:15:56 +01:00
parent 9fd0cf8a3b
commit cf369d4449

View File

@ -1071,6 +1071,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt)
s->preload *= 2;
}
preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
av_log(ctx, AV_LOG_DEBUG, "First SCR: %"PRId64" First DTS: %"PRId64"\n", s->last_scr, dts + preload);
}
if (dts != AV_NOPTS_VALUE) dts += preload;