summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-12-09 17:25:41 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-02-17 14:58:00 +0000
commit8df374108ad1d36945977ccf759767ca9e9409c9 (patch)
tree62d1eb706cd8e0bea7c3befff94150bebddc581e
parentc207bdf1e7ac5ea4010a9268c6683796fa385d0e (diff)
downloadgstreamer-plugins-good-8df374108ad1d36945977ccf759767ca9e9409c9.tar.gz
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
-rw-r--r--gst/rtp/gstrtpopuspay.c2
1 files changed, 1 insertions, 1 deletions
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 =