The following patch grays out the configure button when there's no configuration dialog available for the selected codec. What's the use in clicking it when no dialog pops up? :P (I've been tricked by it lots of times)