Mercurial > libavformat.hg
changeset 5396:aec4d71f32e4 libavformat
Print a warning if the duration is estimated from the bitrate, as this is
likely not accurate.
author | michael |
---|---|
date | Mon, 30 Nov 2009 22:08:22 +0000 |
parents | af65f63f2063 |
children | 6016c9643d95 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Mon Nov 30 22:01:21 2009 +0000 +++ b/utils.c Mon Nov 30 22:08:22 2009 +0000 @@ -1865,6 +1865,7 @@ the components */ fill_all_stream_timings(ic); } else { + av_log(ic, AV_LOG_WARNING, "Estimating duration from bitrate, this may be inaccurate\n"); /* less precise: use bitrate info */ av_estimate_timings_from_bit_rate(ic); }