# HG changeset patch # User michael # Date 1259618902 0 # Node ID aec4d71f32e4ab7ef2ff21f81f583b3efa162ffc # Parent af65f63f20635e094b60b07acd65711e587e1111 Print a warning if the duration is estimated from the bitrate, as this is likely not accurate. diff -r af65f63f2063 -r aec4d71f32e4 utils.c --- 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); }