[FFmpeg-devel] [PATCH] Fix ffmpeg weird 'Unknown option' error messages

Stefano Sabatini stefano.sabatini-lala
Tue May 26 00:44:18 CEST 2009

Hi all,
after r18826 we have:

stefano at geppetto ~/s/ffmpeg> ffmpeg -foo bar
[NULL @ 0x8ae2290]Unknown option 'foo'
[swscaler @ 0x8ae3230]Unknown option 'foo'
ffmpeg: unrecognized option '-foo'

This is especially misleading for example when the option is currenly
present in some context:

stefano at geppetto ~/s/ffmpeg> ffmpeg -sws_flags +print_info
[NULL @ 0x9e06290]Unknown option 'sws_flags'
At least one output file must be specified

Patch fixes it.

FFmpeg = Faboulous and Fiendish Mortal Programmable Elastic Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdutils-fix-weird-msgs.patch
Type: text/x-diff
Size: 1212 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090526/56cf2f01/attachment.patch>

More information about the ffmpeg-devel mailing list