summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpopusdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpopusdepay.c')
-rw-r--r--gst/rtp/gstrtpopusdepay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpopusdepay.c b/gst/rtp/gstrtpopusdepay.c
index abb7218e0..8152cd57f 100644
--- a/gst/rtp/gstrtpopusdepay.c
+++ b/gst/rtp/gstrtpopusdepay.c
@@ -47,7 +47,7 @@ static GstStaticPadTemplate gst_rtp_opus_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("audio/x-opus, multistream = (boolean) FALSE")
+ GST_STATIC_CAPS ("audio/x-opus, channel-mapping-family = (int) 0")
);
static GstBuffer *gst_rtp_opus_depay_process (GstRTPBaseDepayload * depayload,
@@ -98,8 +98,8 @@ gst_rtp_opus_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
const gchar *sprop_stereo, *sprop_maxcapturerate;
srccaps =
- gst_caps_new_simple ("audio/x-opus", "multistream", G_TYPE_BOOLEAN, FALSE,
- NULL);
+ gst_caps_new_simple ("audio/x-opus", "channel-mapping-family", G_TYPE_INT,
+ 0, NULL);
s = gst_caps_get_structure (caps, 0);
if ((sprop_stereo = gst_structure_get_string (s, "sprop-stereo"))) {