aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNongji Chen <nchen@aminocom.com>2017-09-13 11:40:15 +0300
committerJan Ekström <jeebjp@gmail.com>2023-04-14 15:06:41 +0300
commiteb96cfbf57822f7ce0af508d4a9ecd2224cbd565 (patch)
treeb14f1b6d62b5b84bc92a36e89895c17630077208
parentbd2f00f665cc964fc1942518cdf27bd6e8b6d388 (diff)
downloadffmpeg-eb96cfbf57822f7ce0af508d4a9ecd2224cbd565.tar.gz
ffmpeg: make timestamp discontinuity logging a warning
In most cases this should only occur once or so per stream in an input, and in case the logic ends up in an eternal loop, it should be visible to the end user instead of being completely invisible. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 6e44542776..e9c6a8281e 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -2512,7 +2512,7 @@ static void ts_discontinuity_detect(InputFile *ifile, InputStream *ist,
if (FFABS(delta) > 1LL * dts_delta_threshold * AV_TIME_BASE ||
pkt_dts + AV_TIME_BASE/10 < FFMAX(ist->pts, ist->dts)) {
ifile->ts_offset_discont -= delta;
- av_log(NULL, AV_LOG_DEBUG,
+ av_log(NULL, AV_LOG_WARNING,
"timestamp discontinuity for stream #%d:%d "
"(id=%d, type=%s): %"PRId64", new offset= %"PRId64"\n",
ist->file_index, ist->st->index, ist->st->id,