summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opus/gstopusenc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c
index 7fad24881..7dfd44151 100644
--- a/ext/opus/gstopusenc.c
+++ b/ext/opus/gstopusenc.c
@@ -166,7 +166,12 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS ("audio/x-raw, "
"format = (string) " FORMAT_STR ", "
"layout = (string) interleaved, "
- "rate = (int) { 8000, 12000, 16000, 24000, 48000 }, "
+ "rate = (int) 48000, "
+ "channels = (int) [ 1, 2 ]; "
+ "audio/x-raw, "
+ "format = (string) " FORMAT_STR ", "
+ "layout = (string) interleaved, "
+ "rate = (int) { 8000, 12000, 16000, 24000 }, "
"channels = (int) [ 1, 2 ] ")
);