ext/lame/gstlame.*: Get the defaults settings of LAME in the plugin initialization...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 29 Jul 2008 16:57:16 +0000 (16:57 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 29 Jul 2008 16:57:16 +0000 (16:57 +0000)
commit252e387a896e9d46adf0c497cd1da59987d222e6
tree4f5477ffd7f10e0181a5254df16a9c202a0fab4a
parent82c528d3ca4a207e98e9414bbfe529d4d1f27769
ext/lame/gstlame.*: Get the defaults settings of LAME in the plugin initialization function and return FALSE here if ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init),
(gst_lame_chain), (gst_lame_get_default_settings), (plugin_init):
* ext/lame/gstlame.h:
Get the defaults settings of LAME in the plugin initialization
function and return FALSE here if something goes wrong. This removes
the hacky failing instance init function.
Use LAMEs default value for all settings instead of overwriting some
of them. Overwriting some of them gives unexpected results if one only
sets a preset. Fixes bug #498004.
ext/lame/gstlame.c
ext/lame/gstlame.h