author | Thomas Vander Stichele <thomas@apestaart.org> | |
Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000) | ||
committer | Thomas Vander Stichele <thomas@apestaart.org> | |
Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000) | ||
commit | 151206dec5d8be1adafe9bf594d41c3951a316a2 | |
tree | 6888ae2f0916a64577f7d979eb9faf597bd7f100 | tree | snapshot (tar.xz tar.gz zip) |
parent | 12f441024b20411fc3e2b0d82465095a85f674fb | commit | diff |
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.
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.
ChangeLog | diff | blob | history | |
ext/lame/gstlame.c | diff | blob | history |