rtpsbcpay: 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>
Thu, 10 Jan 2013 00:13:14 +0000 (00:13 +0000)
gst/rtp/gstrtpsbcpay.c

index 21dcaab..893bc4f 100644 (file)
@@ -78,15 +78,15 @@ GST_ELEMENT_DETAILS ("RTP packet payloader",
     "Thiago Sousa Santos " "<thiagoss@lcc.ufcg.edu.br>");
 
 static GstStaticPadTemplate gst_rtp_sbc_pay_sink_factory =
-    GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
+GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, 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 },"
-        "bitpool = (int) [ 2, 64 ]")
+        "allocation = (string) { \"snr\", \"loudness\" }, "
+        "bitpool = (int) [ 2, 64 ]")
     );
 
 static GstStaticPadTemplate gst_rtp_sbc_pay_src_factory =