diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-10-22 12:08:41 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-10-22 12:11:02 +0200 |
commit | 50140388d2b62d32dd9d0c071e3051ebc5b4083b (patch) | |
tree | 5d04a9cd422ca8574ffc49c29a18fc6f192a08dc | |
parent | 2c02e256403a240dc317377c39d44d048ccf53a1 (diff) | |
download | gstreamer-plugins-bad-50140388d2b62d32dd9d0c071e3051ebc5b4083b.tar.gz |
opuspay: remove pointless caps serialization
Remove the caps serialization in the rtp caps. the spec nor the receiver
does anything with it.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686547
-rw-r--r-- | ext/opus/gstrtpopuspay.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/opus/gstrtpopuspay.c b/ext/opus/gstrtpopuspay.c index cb3279c2a..5ba3217cd 100644 --- a/ext/opus/gstrtpopuspay.c +++ b/ext/opus/gstrtpopuspay.c @@ -94,16 +94,10 @@ static gboolean gst_rtp_opus_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) { gboolean res; - gchar *capsstr; - - capsstr = gst_caps_to_string (caps); gst_rtp_base_payload_set_options (payload, "audio", FALSE, "X-GST-OPUS-DRAFT-SPITTKA-00", 48000); - res = - gst_rtp_base_payload_set_outcaps (payload, "caps", G_TYPE_STRING, capsstr, - NULL); - g_free (capsstr); + res = gst_rtp_base_payload_set_outcaps (payload, NULL); return res; } |