ext/lame/gstlame.c: Fix up bitrate checking macro. Make it give us a
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000)
commitd092f55b65ee3d7e935f7f392e7e5652bf47bbd7
tree4b451de392e9e540681733a151bcab368b3f4f2e
parent16c774ff134b1ff1efb98db79778bf1833d82e87
ext/lame/gstlame.c: Fix up bitrate checking macro.  Make it give us a

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_setup):
Fix up bitrate checking macro.  Make it give us a
GST_ELEMENT_WARNING message so the application has a chance of
reporting this to the user.  Move the checking to _setup, so we
are sure it runs in the READY state, when we hope to have a pipeline
and a bus that is not flushing.
This fixes e.g. using 96 kbit/sec as a bitrate.
ext/lame/gstlame.c