From 8f25f8971dcbc1b18ff51aa7fe7a68e8a1af878c Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 13 May 2003 12:26:51 +0000 Subject: [PATCH] wavenc supports 8 bits too Original commit message from CVS: wavenc supports 8 bits too --- common | 2 +- gst/wavenc/gstwavenc.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/common b/common index c5d7301..5cca5dd 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b +Subproject commit 5cca5ddc23e23658e8287f7c2fbc4aebddaf3e12 diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index 1c96428..21736cb 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) ) -- 2.7.4