From 8df374108ad1d36945977ccf759767ca9e9409c9 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 9 Dec 2011 17:25:41 +0000 Subject: opusenc: add upstream negotiation for multistream ability This will help elements that cannot deal with multistream, such as the RTP payloader. The caps now do not include a "streams" field anymore, but a "multistream" boolean, since we have no real use for knowing the exact amount of streams. https://bugzilla.gnome.org/show_bug.cgi?id=665078 --- gst/rtp/gstrtpopuspay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpopuspay.c b/gst/rtp/gstrtpopuspay.c index 9724e6276..cdd7ee00c 100644 --- a/gst/rtp/gstrtpopuspay.c +++ b/gst/rtp/gstrtpopuspay.c @@ -37,7 +37,7 @@ static GstStaticPadTemplate gst_rtp_opus_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("audio/x-opus") + GST_STATIC_CAPS ("audio/x-opus, multistream = (boolean) FALSE") ); static GstStaticPadTemplate gst_rtp_opus_pay_src_template = -- cgit v1.2.1