[MPlayer-dev-eng] [PATCH] m_config.c - small error improvement

Alex Beregszaszi alex at fsn.hu
Tue Apr 6 14:10:37 CEST 2004


Hi,

> if you did something like
> mplayer foo.avi -lavdopts gray:idct=
> 
> you'd get "Error: option 'lavdopts' must have a
> parameter!", which is a bit wrong because it's the
> suboption that's missing a parameter.
> 
> i've just made it tell you that the problem was with
> one of the suboptions, because finding out which
> suboption it was might be hard.
Imho this is just broken as only flag options don't have a parameter, so
you would write that "error in suboptions" message for normal options
too

-- 
Alex Beregszaszi 			e-mail: alex at fsn.hu
Free Software Network			cell: +36 70 3144424




More information about the MPlayer-dev-eng mailing list