summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-02-20 13:37:00 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-02-20 13:37:00 +0000
commit41387ca1ae954c4b8ea99e8e4e1646198af254a7 (patch)
treeecb5d4709eaeb88b93f4e6cb3b4831a86d16c1fb
parenta8b3b548ec9870df10709a839ed4c07e6d8eb76d (diff)
Fix runtime warnings of gstreamer plugin.
-rw-r--r--audio/gsta2dpsink.c6
-rw-r--r--audio/gstrtpsbcpay.c6
-rw-r--r--audio/gstsbcenc.c4
-rw-r--r--audio/gstsbcparse.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/audio/gsta2dpsink.c b/audio/gsta2dpsink.c
index 0b61e826..d25cbded 100644
--- a/audio/gsta2dpsink.c
+++ b/audio/gsta2dpsink.c
@@ -57,13 +57,13 @@ static GstStaticPadTemplate gst_a2dp_sink_factory =
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, "
TEMPLATE_MAX_BITPOOL_STR " ]; "
- "audio/mpeg;"
+ "audio/mpeg"
));
static gboolean gst_a2dp_sink_handle_event(GstPad *pad, GstEvent *event);
diff --git a/audio/gstrtpsbcpay.c b/audio/gstrtpsbcpay.c
index 70f5bef2..39cf1970 100644
--- a/audio/gstrtpsbcpay.c
+++ b/audio/gstrtpsbcpay.c
@@ -80,11 +80,11 @@ static GstStaticPadTemplate gst_rtp_sbc_pay_sink_factory =
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 },"
- "bitpool = (int) [ 2, 64 ]; ")
+ "allocation = (string) { \"snr\", \"loudness\" }, "
+ "bitpool = (int) [ 2, 64 ]")
);
static GstStaticPadTemplate gst_rtp_sbc_pay_src_factory =
diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c
index 03423ecf..65e3da5b 100644
--- a/audio/gstsbcenc.c
+++ b/audio/gstsbcenc.c
@@ -157,10 +157,10 @@ static GstStaticPadTemplate sbc_enc_src_factory =
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/audio/gstsbcparse.c b/audio/gstsbcparse.c
index 7b30dd2d..4521c563 100644
--- a/audio/gstsbcparse.c
+++ b/audio/gstsbcparse.c
@@ -51,10 +51,10 @@ static GstStaticPadTemplate sbc_parse_src_factory =
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"));