gst/audioscale/gstaudioscale.c: the resample library only handles 1 or 2 channels. Change caps to compensate.

Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: the resample library only
handles 1 or 2 channels.  Change caps to compensate.
This commit is contained in:
David Schleef 2004-12-16 22:33:53 +00:00
parent b829f908e2
commit 4cd37e5de5
2 changed files with 7 additions and 2 deletions

View file

@ -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),

View 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 =