diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-24 20:25:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-24 20:25:29 +0200 |
commit | d44b8f0a47245936c371f0db88ff1436d218df00 (patch) | |
tree | d29f063fb2879c4dbbd56c9163966d13b24f7c23 /libavformat/matroskaenc.c | |
parent | ce8e27e0ed2d4de3644f1e5b2cfdf5890c56f1aa (diff) | |
download | ffmpeg-d44b8f0a47245936c371f0db88ff1436d218df00.tar.gz |
avformat/matroskaenc: print a warning when the relative timestamp wouldnt fit in 16bit
This is somewhat unusual so its better to use warning level than debug
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index bf917c66f4..db7c2af74e 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1712,7 +1712,7 @@ static int mkv_write_packet_internal(AVFormatContext *s, AVPacket *pkt, int add_ if (mkv->cluster_pos != -1) { int64_t cluster_time = ts - mkv->cluster_pts + mkv->tracks[pkt->stream_index].ts_offset; if ((int16_t)cluster_time != cluster_time) { - av_log(s, AV_LOG_DEBUG, "Starting new cluster due to timestamp\n"); + av_log(s, AV_LOG_WARNING, "Starting new cluster due to timestamp\n"); mkv_start_new_cluster(s, pkt); } } |