Commit 099610fd authored by michael's avatar michael

Print a warning if the duration is estimated from the bitrate, as this is

likely not accurate.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20675 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 24676451
...@@ -1865,6 +1865,7 @@ static void av_estimate_timings(AVFormatContext *ic, int64_t old_offset) ...@@ -1865,6 +1865,7 @@ static void av_estimate_timings(AVFormatContext *ic, int64_t old_offset)
the components */ the components */
fill_all_stream_timings(ic); fill_all_stream_timings(ic);
} else { } else {
av_log(ic, AV_LOG_WARNING, "Estimating duration from bitrate, this may be inaccurate\n");
/* less precise: use bitrate info */ /* less precise: use bitrate info */
av_estimate_timings_from_bit_rate(ic); av_estimate_timings_from_bit_rate(ic);
} }
......
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