From 41387ca1ae954c4b8ea99e8e4e1646198af254a7 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 20 Feb 2008 13:37:00 +0000 Subject: Fix runtime warnings of gstreamer plugin. --- audio/gsta2dpsink.c | 6 +++--- audio/gstrtpsbcpay.c | 6 +++--- audio/gstsbcenc.c | 4 ++-- audio/gstsbcparse.c | 4 ++-- 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")); -- cgit