[FFmpeg-devel] [PATCH] Improve ffpreset error messages
Fri Nov 21 13:35:49 CET 2008
On Thu, Nov 20, 2008 at 08:34:30PM +0100, Stefano Sabatini wrote:
> On date Thursday 2008-11-20 12:12:19 +0100, Michael Niedermayer encoded:
> > On Thu, Nov 20, 2008 at 12:57:00AM +0100, Stefano Sabatini wrote:
> > > Hi all,
> > >
> > > sorry for the pickyness, maybe they should go in two separate commits.
> > >
> > > The first change provides the exact line showing a syntax problem,
> > > like here:
> > > ./ffpresets/libx264-bugged.ffpreset: Invalid syntax: foobar baz # foo
> > >
> > > the second one uses the exact line found in the file, for example the
> > > user could specify "key= value" while the message will tell:
> > > "Invalid option or argument: key=value"
> > could be 'Invalid option or argument: "%s", parsed as %s = %s'
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel