[gst-devel] PATCH: gstreamer-plugins fix for vorbis 1.0 check

Goetz Waschk waschk at informatik.uni-rostock.de
Tue Aug 6 04:43:03 CEST 2002


Hi,

could someone please apply this patch? The vorbis check fails for
vorbis 1.0 final, this patch fixes it.
Thanks.
-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwstud.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--
-------------- next part --------------
--- gst-plugins/m4/vorbis.m4~	Tue Aug  6 13:07:06 2002
+++ gst-plugins/m4/vorbis.m4	Tue Aug  6 13:08:52 2002
@@ -62,7 +62,8 @@
     vorbis_info		vi;
 
     vorbis_info_init (&vi);
-    vorbis_encode_init (&vi, 2, 44100, -1, 128, -1);
+    /* the API was changed in 1.0 from kBytes to bytes for the bitrate */
+    vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
     vorbis_analysis_init (&vd, &vi);
     vorbis_block_init (&vd, &vb);
     /* this function was added in 1.0rc3, so this is what we're testing for */


More information about the gstreamer-devel mailing list