GST_STATIC_CAPS ("audio/x-sbc, "
"rate = (int) { 16000, 32000, 44100, 48000 }, "
"channels = (int) [ 1, 2 ], "
- "mode = (string) { mono, dual, stereo, joint }, "
+ "channel-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-method = (string) { snr, loudness }, "
+ "bitpool = (int) [ 2, 64 ]")
);
static GstStaticPadTemplate gst_rtp_sbc_pay_src_factory =
if (!gst_structure_get_int (structure, "subbands", &subbands))
return FALSE;
- channel_mode = gst_structure_get_string (structure, "mode");
+ channel_mode = gst_structure_get_string (structure, "channel-mode");
if (!channel_mode)
return FALSE;