From 4b5ad70924f3c86b6cdeff2d75068daad80a584b Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 19 Feb 2015 14:30:10 +0000 Subject: [PATCH] rtpopuspay: default encoding name to OPUS https://bugzilla.gnome.org/show_bug.cgi?id=737810 --- gst/rtp/gstrtpopuspay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/rtp/gstrtpopuspay.c b/gst/rtp/gstrtpopuspay.c index eebbdee766..d0f7b10c54 100644 --- a/gst/rtp/gstrtpopuspay.c +++ b/gst/rtp/gstrtpopuspay.c @@ -103,8 +103,7 @@ gst_rtp_opus_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) src_caps = gst_caps_make_writable (src_caps); src_caps = gst_caps_truncate (src_caps); s = gst_caps_get_structure (src_caps, 0); - gst_structure_fixate_field_string (s, "encoding-name", - "X-GST-OPUS-DRAFT-SPITTKA-00"); + gst_structure_fixate_field_string (s, "encoding-name", "OPUS"); encoding_name = g_strdup (gst_structure_get_string (s, "encoding-name")); gst_caps_unref (src_caps); } else {