diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-05-13 12:26:51 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-05-13 12:26:51 +0000 |
commit | 8f25f8971dcbc1b18ff51aa7fe7a68e8a1af878c (patch) | |
tree | 6a74af00b52bbd09737b01bb9967a143d0d6ef9f /gst/wavenc | |
parent | 453d871f36a9f30d44f6ffb36d9210e16c0d0c34 (diff) |
wavenc supports 8 bits too
Original commit message from CVS:
wavenc supports 8 bits too
Diffstat (limited to 'gst/wavenc')
-rw-r--r-- | gst/wavenc/gstwavenc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index 1c964283..21736cb9 100644 --- a/gst/wavenc/gstwavenc.c +++ b/gst/wavenc/gstwavenc.c @@ -85,8 +85,14 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory, "law", GST_PROPS_INT (0), "endianness", GST_PROPS_INT (G_LITTLE_ENDIAN), "signed", GST_PROPS_BOOLEAN (TRUE), - "width", GST_PROPS_INT (16), - "depth", GST_PROPS_INT (16), + "width", GST_PROPS_LIST ( + GST_PROPS_INT (8), + GST_PROPS_INT (16) + ), + "depth", GST_PROPS_LIST ( + GST_PROPS_INT (8), + GST_PROPS_INT (16) + ), "rate", GST_PROPS_INT_RANGE (8000, 48000), "channels", GST_PROPS_INT_RANGE (1, 2) ) |