[FFmpeg-devel] [PATCH]Only print the "Estimating duration from bitrate" warning if a duration was estimated

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Mar 29 12:35:41 CET 2013


René J.V. Bertin <rjvbertin <at> gmail.com> writes:

> > Attached patch silences a warning when it makes no sense to print it.
> 
> Isn't it an idea to put up a warning that no duration could be 
> estimated if the process fails

The output shows if a duration was determined or not independently 
of the warning that the duration had to be estimated. This patch 
silences a warning that the duration had to be estimated in case 
no duration could be estimated, or in other words: When the 
warning is useless (and causes repeated confusion for users).

Carl Eugen



More information about the ffmpeg-devel mailing list