GNOME Bugzilla – Bug 315571
last release borke --disable-encoders
Last modified: 2005-10-03 11:41:34 UTC
Hi, (I thought having filed a bug on this issue, but I can't put my hand on it.) in gst-ffmpeg 0.8.6, one can't configure ffmpeg with --disable-encoder anymore. This is because configure checks whether all AC_DEFINEd values are set, and the AC_FF_ALLOW_DISABLE calls are within the AC_FF_ALLOW_DISABLE(CONFIG_ENCODERS) conditional block. Ronald already fixed this, but lost the patch, and suggested I file a bug so that he doesn't forget about the issue. Anyway, I tried solving the issue and I came with a patch that I'll attach so we can discuss it.
Created attachment 51985 [details] [review] disable-encoder fix This patch will change the default value of the encoders if --disable-encoders is used and this permits: --disable-encoders => disable all --disable-encoders --enable-encoder-flv OR --enable-encoder-flv --disable-encoders => disable all except FLV However, it exposes things twice in --help: --disable-encoder-h261 Disable h.261 encoder --enable-encoder-h261 Enable h.261 encoder What do you think of this approach? I find the configure output ugly but bearable, and the use cases are nice.
CVS already does this... I forgot to apply the patch before releasing 0.8.6.
Ups, merging... *** This bug has been marked as a duplicate of 312764 ***