summaryrefslogtreecommitdiff
path: root/ext/sbc
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-02-20 13:37:00 +0000
committerTim-Philipp Müller <tim@centricular.net>2013-03-27 22:21:16 +0000
commit266cfb11b4bb51a9177a349ff31a7e5f0d2376b4 (patch)
tree9106e1e9fe19045c29159a0e21551a2aaec0c40f /ext/sbc
parent834a9b193b8306b27aa74dbe6e1ac0b211765e4f (diff)
downloadgstreamer-plugins-bad-266cfb11b4bb51a9177a349ff31a7e5f0d2376b4.tar.gz
sbc: Fix runtime warnings of gstreamer plugin.
Diffstat (limited to 'ext/sbc')
-rw-r--r--ext/sbc/gstsbcenc.c4
-rw-r--r--ext/sbc/gstsbcparse.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/sbc/gstsbcenc.c b/ext/sbc/gstsbcenc.c
index bfb5c65ef..9a2f3e294 100644
--- a/ext/sbc/gstsbcenc.c
+++ b/ext/sbc/gstsbcenc.c
@@ -158,10 +158,10 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-sbc, "
"rate = (int) { 16000, 32000, 44100, 48000 }, "
"channels = (int) [ 1, 2 ], "
- "mode = (string) { mono, dual, stereo, joint }, "
+ "mode = (string) { \"mono\", \"dual\", \"stereo\", \"joint\" }, "
"blocks = (int) { 4, 8, 12, 16 }, "
"subbands = (int) { 4, 8 }, "
- "allocation = (string) { snr, loudness },"
+ "allocation = (string) { \"snr\", \"loudness\" }, "
"bitpool = (int) [ " SBC_ENC_BITPOOL_MIN_STR
", " SBC_ENC_BITPOOL_MAX_STR " ]"));
diff --git a/ext/sbc/gstsbcparse.c b/ext/sbc/gstsbcparse.c
index 0c3dc8024..a688c6865 100644
--- a/ext/sbc/gstsbcparse.c
+++ b/ext/sbc/gstsbcparse.c
@@ -50,10 +50,10 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-sbc, "
"rate = (int) { 16000, 32000, 44100, 48000 }, "
"channels = (int) [ 1, 2 ], "
- "mode = (string) { mono, dual, stereo, joint }, "
+ "mode = (string) { \"mono\", \"dual\", \"stereo\", \"joint\" }, "
"blocks = (int) { 4, 8, 12, 16 }, "
"subbands = (int) { 4, 8 }, "
- "allocation = (string) { snr, loudness },"
+ "allocation = (string) { \"snr\", \"loudness\" },"
"bitpool = (int) [ 2, 64 ]," "parsed = (boolean) true"));
static GstFlowReturn