ext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3. Fixes bug #348786.
authorZaheer Abbas Merali <zaheerabbas@merali.org>
Wed, 26 Jul 2006 17:09:04 +0000 (17:09 +0000)
committerZaheer Abbas Merali <zaheerabbas@merali.org>
Wed, 26 Jul 2006 17:09:04 +0000 (17:09 +0000)
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.

ext/lame/gstlame.c

index 31e915d..645234c 100644 (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));