[Ffmpeg-devel] Bug, new format, and question =)

Mike Melanson mike
Wed Nov 16 16:59:44 CET 2005


Rich Felker wrote:
> On Tue, Nov 15, 2005 at 03:10:46PM -0700, Mike Melanson wrote:
> 
>>>Many Linux programs uses getopts() for argument handling. How can it be
>>>that ffmpeg and mplayer doesn't?
>>
>>	Uh oh... please don't rock the boat by suggesting certain accepted 
>>programming practices. This is what I predict: The Guru will say, "send 
>>a patch" indicating that you are welcome to revise the program to use 
>>the getopt facility. "He whose name ends in 3" will flame back and 
>>rabidly denounce all that is GNU (gcc, autotools, getopt, etc.) and the 
>>situation will just degenerate from there.
>>
>>	The short answer for not using getopt: That's just the way it is. :)
> 
> 
> mans' answer was much better: it just does not do what we need.

	I find that hard to believe. Is it just because MPlayer/FFmpeg likes to 
use "-op=j:u:n::k" style parameters and getopt does not usually follow 
that convention?

-- 
	-Mike Melanson





More information about the ffmpeg-devel mailing list