opusdec: opus supports a select set of sampling rates
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 28 Sep 2011 12:24:52 +0000 (13:24 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 3 Oct 2011 09:20:52 +0000 (11:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=660364

ext/opus/gstopusdec.c

index aff4eb9..9cdc144 100644 (file)
@@ -55,7 +55,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw-int, "
-        "rate = (int) [ 32000, 64000 ], "
+        "rate = (int) { 8000, 12000, 16000, 24000, 48000 }, "
         "channels = (int) [ 1, 2 ], "
         "endianness = (int) BYTE_ORDER, "
         "signed = (boolean) true, " "width = (int) 16, " "depth = (int) 16")