diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-04 20:15:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-04 20:58:59 +0100 |
commit | cf369d4449857b094e4ec91e29eaeaa7e7334bad (patch) | |
tree | fc96565132ebec845c71cfd680bd18bd6c963318 /libavformat | |
parent | 9fd0cf8a3b9e8bb7d93f04e0a97033902c1e8a4f (diff) | |
download | ffmpeg-cf369d4449857b094e4ec91e29eaeaa7e7334bad.tar.gz |
mpegpsenc: show first SCR/DTS at debug level
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index ea17e386eb..23ba8edd67 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -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; |