gst/audioscale/gstaudioscale.c: the resample library only handles 1 or 2 channels...
authorDavid Schleef <ds@schleef.org>
Thu, 16 Dec 2004 22:33:53 +0000 (22:33 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 16 Dec 2004 22:33:53 +0000 (22:33 +0000)
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: the resample library only
handles 1 or 2 channels.  Change caps to compensate.

ChangeLog
gst/audioscale/gstaudioscale.c

index cc52ce9..866b415 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-16  David Schleef  <ds@schleef.org>
+
+       * gst/audioscale/gstaudioscale.c: the resample library only
+       handles 1 or 2 channels.  Change caps to compensate.
+
 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
 
        * gst/matroska/matroska-demux.c: (aac_rate_idx), (aac_profile_idx),
index e92d689..f5f681e 100644 (file)
@@ -59,7 +59,7 @@ enum
   GST_STATIC_CAPS (\
     "audio/x-raw-int, " \
       "rate = (int) [ 1, MAX ], " \
-      "channels = (int) [ 1, MAX ], " \
+      "channels = (int) [ 1, 2 ], " \
       "endianness = (int) BYTE_ORDER, " \
       "width = (int) 16, " \
       "depth = (int) 16, " \
@@ -68,7 +68,7 @@ enum
   /* disabled because it segfaults */
 "audio/x-raw-float, "
     "rate = (int) [ 1, MAX ], "
-    "channels = (int) [ 1, MAX ], "
+    "channels = (int) [ 1, 2 ], "
     "endianness = (int) BYTE_ORDER, " "width = (int) 32")
 #endif
      static GstStaticPadTemplate gst_audioscale_sink_template =