[FFmpeg-devel] [PATCH] libavformat/matroskaenc: move a warning log to debug log
Thierry Foucu
tfoucu at gmail.com
Sat Nov 7 01:22:27 EET 2020
At high frame rate, the message "Starting new cluster due to timestamp"
happens too often. Moving to debug to reduce the warning log
---
libavformat/matroskaenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 233c472b8f..97e146479a 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -2292,7 +2292,7 @@ static int mkv_write_packet_internal(AVFormatContext *s, const AVPacket *pkt)
ret = mkv_end_cluster(s);
if (ret < 0)
return ret;
- av_log(s, AV_LOG_WARNING, "Starting new cluster due to timestamp\n");
+ av_log(s, AV_LOG_DEBUG, "Starting new cluster due to timestamp\n");
}
}
--
2.29.2.222.g5d2a92d10f8-goog
More information about the ffmpeg-devel
mailing list