gst-libs/gst/riff/riff-media.c: Change minimum rate back to 1000 to allow low-sample...
authorMichael Smith <msmith@xiph.org>
Tue, 19 Jun 2007 09:34:35 +0000 (09:34 +0000)
committerMichael Smith <msmith@xiph.org>
Tue, 19 Jun 2007 09:34:35 +0000 (09:34 +0000)
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Change minimum rate back to 1000 to allow low-sample-rate wav files
to play back.

ChangeLog
gst-libs/gst/riff/riff-media.c

index 9613186..81d246d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-19  Michael Smith <msmith@fluendo.com>
+
+       * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
+         Change minimum rate back to 1000 to allow low-sample-rate wav files
+         to play back.
+
 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * po/vi.po:
index 3ef5e3d..7dea204 100644 (file)
@@ -748,7 +748,7 @@ gst_riff_create_audio_caps (guint16 codec_id,
 {
   gboolean block_align = FALSE, rate_chan = TRUE;
   GstCaps *caps = NULL;
-  gint rate_min = 8000, rate_max = 96000;
+  gint rate_min = 1000, rate_max = 96000;
   gint channels_max = 2;
 
   switch (codec_id) {