mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpopuspay: default encoding name to OPUS
https://bugzilla.gnome.org/show_bug.cgi?id=737810
This commit is contained in:
parent
755289ed0c
commit
4b5ad70924
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue