wavenc supports 8 bits too
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 13 May 2003 12:26:51 +0000 (12:26 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 13 May 2003 12:26:51 +0000 (12:26 +0000)
Original commit message from CVS:
wavenc supports 8 bits too

common
gst/wavenc/gstwavenc.c

diff --git a/common b/common
index c5d7301..5cca5dd 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b
+Subproject commit 5cca5ddc23e23658e8287f7c2fbc4aebddaf3e12
index 1c96428..21736cb 100644 (file)
@@ -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)
   )