Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup):
Minimal fix for bug #320200: set the min/max bitrate in the correct
units. A better fix would be to upgrade to the RATEMANAGE2
interface, rather than using the deprecated interface used here, but
that would require an update in our libvorbis dependency (to 1.1),
which is probably undesirable.
+2005-11-21 Michael Smith <msmith@fluendo.com>
+
+ * ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup):
+ Minimal fix for bug #320200: set the min/max bitrate in the correct
+ units. A better fix would be to upgrade to the RATEMANAGE2
+ interface, rather than using the deprecated interface used here, but
+ that would require an update in our libvorbis dependency (to 1.1),
+ which is probably undesirable.
+
2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
* ext/libvisual/visual.c: (get_buffer):
vorbis_encode_ctl (&vorbisenc->vi, OV_ECTL_RATEMANAGE_GET, &ai);
- /* the bitrates used by libvorbisenc are in kbit/sec, ours in bit/sec
- * also remember that in telecom kbit/sec is 1000 bit/sec */
- ai.bitrate_hard_min = vorbisenc->min_bitrate / 1000;
- ai.bitrate_hard_max = vorbisenc->max_bitrate / 1000;
+ ai.bitrate_hard_min = vorbisenc->min_bitrate;
+ ai.bitrate_hard_max = vorbisenc->max_bitrate;
ai.management_active = 1;
vorbis_encode_ctl (&vorbisenc->vi, OV_ECTL_RATEMANAGE_SET, &ai);