bluez: Fix runtime warnings of gstreamer plugin.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Wed, 20 Feb 2008 13:37:00 +0000 (13:37 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:10 +0000 (14:30 +0000)
sys/bluez/gsta2dpsink.c

index 1291918..1de9170 100644 (file)
@@ -58,11 +58,11 @@ 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 }, "
-        "bitpool = (int) [ 2, " TEMPLATE_MAX_BITPOOL_STR " ]; " "audio/mpeg;"));
+        "allocation = (string) { \"snr\", \"loudness\" }, "
+        "bitpool = (int) [ 2, " TEMPLATE_MAX_BITPOOL_STR " ]; " "audio/mpeg"));
 
 static gboolean gst_a2dp_sink_handle_event (GstPad * pad, GstEvent * event);
 static gboolean gst_a2dp_sink_set_caps (GstPad * pad, GstCaps * caps);