ext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3. Fixes bug #348786.

Original commit message from CVS:
2006-07-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_setup):
Fix lame putting lots of 0's at start of mp3.  Fixes bug #348786.
This commit is contained in:
Zaheer Abbas Merali 2006-07-26 17:09:04 +00:00
parent 4f1860aacb
commit 1bccf486c2

View file

@ -1041,6 +1041,7 @@ gst_lame_setup (GstLame * lame)
CHECK_ERROR (lame_set_allow_diff_short (lame->lgf, lame->allow_diff_short));
CHECK_ERROR (lame_set_no_short_blocks (lame->lgf, lame->no_short_blocks));
CHECK_ERROR (lame_set_emphasis (lame->lgf, lame->emphasis));
CHECK_ERROR (lame_set_bWriteVbrTag (lame->lgf, 0));
#ifdef GSTLAME_PRESET
if (lame->preset > 0) {
CHECK_ERROR (lame_set_preset (lame->lgf, lame->preset));