diff utils.c @ 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 238bda5af58e
children 0b4951f549d4
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);
     }