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
This commit is contained in:
Vincent Penquerc'h 2011-12-09 17:25:41 +00:00 committed by Tim-Philipp Müller
parent c207bdf1e7
commit 8df374108a

View file

@ -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 =