Commit cf369d44 authored by Michael Niedermayer's avatar Michael Niedermayer

mpegpsenc: show first SCR/DTS at debug level

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9fd0cf8a
...@@ -1071,6 +1071,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt) ...@@ -1071,6 +1071,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt)
s->preload *= 2; s->preload *= 2;
} }
preload = av_rescale(s->preload, 90000, AV_TIME_BASE); 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; if (dts != AV_NOPTS_VALUE) dts += preload;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment