[FFmpeg-devel] [PATCH] ffmpeg: raise level for message printed in case of auto-select pixel format
Michael Niedermayer
michaelni at gmx.at
Sun Jul 28 14:33:25 CEST 2013
On Sun, Jul 28, 2013 at 02:16:08PM +0200, Stefano Sabatini wrote:
> On date Sunday 2013-07-28 01:18:46 +0000, Carl Eugen Hoyos encoded:
> > Stefano Sabatini <stefasab <at> gmail.com> writes:
> >
> > > On date Saturday 2013-07-27 16:53:38 +0000,
> > > Carl Eugen Hoyos encoded:
> > > > Stefano Sabatini writes:
> > > >
> > > > > - av_log(NULL, AV_LOG_INFO,
> > > > > + av_log(NULL, AV_LOG_WARNING,
> > > > > "No pixel format specified, %s for
> > > > > H.264 encoding chosen.\n"
> > > >
> > > > I don't think this is a good idea.
> > >
> > > Why?
> >
>
> > Because I don't think it is a good idea to raise
> > the level of an informational message to "warning"?
>
> "Informational message" and "warning" are not clearly defined (a
http://www.merriam-webster.com/dictionary/warning
Definition of WARNING
1
: the act of warning : the state of being warned <he had warning of his illness>
2
: something that warns or serves to warn; especially : a notice or bulletin that alerts the public to an imminent hazard (as a tornado, thunderstorm, or flood)
Definition of INFORMATION
1
: the communication or reception of knowledge or intelligence
2
a (1) : knowledge obtained from investigation, study, or instruction (2) : intelligence, news (3) : facts, data
b : the attribute inherent in and communicated by one of two or more alternative sequences or arrangements of something (as nucleotides in DNA or binary digits in a computer program) that produce specific effects
c (1) : a signal or character (as in a communication system or computer) representing data (2) : something (as a message, experimental data, or a picture) which justifies change in a construct (as a plan or theory) that represents physical or mental experience or another construct
d : a quantitative measure of the content of information; specifically : a numerical quantity that measures the uncertainty in the outcome of an experiment to be performed
3
: the act of informing against a person
4
: a formal accusation of a crime made by a prosecuting officer as distinguished from an indictment presented by a grand jury
— in·for·ma·tion·al adjective
— in·for·ma·tion·al·ly adverb
See information defined for English-language learners »
See information defined for kids »
in·for·ma·tion
log.h:
/**
* Something somehow does not look correct. This may or may not
* lead to problems. An example would be the use of '-vstrict -2'.
*/
#define AV_LOG_WARNING 24
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130728/b8676846/attachment.asc>
More information about the ffmpeg-devel
mailing list