diff options
author | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2013-04-02 17:03:38 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-04-03 09:49:18 +0200 |
commit | 27abdf51bf489a28f50745bbd2329d5a84b67339 (patch) | |
tree | d0966b6b621f7908ddd12864cbd5f7a9d0ac03e7 | |
parent | 707d112315cdb67933892960f03902ed84746c7a (diff) |
sdp: Do not add email line by default
As specified in rfc4566 email line is optional
See https://bugzilla.gnome.org/show_bug.cgi?id=697162
-rw-r--r-- | gst-libs/gst/sdp/gstsdpmessage.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gst-libs/gst/sdp/gstsdpmessage.c b/gst-libs/gst/sdp/gstsdpmessage.c index e7bc5fbfe..3d2757e31 100644 --- a/gst-libs/gst/sdp/gstsdpmessage.c +++ b/gst-libs/gst/sdp/gstsdpmessage.c @@ -377,10 +377,6 @@ gst_sdp_message_as_text (const GstSDPMessage * msg) g_string_append_printf (lines, "p=%s\r\n", gst_sdp_message_get_phone (msg, i)); - if (gst_sdp_message_emails_len (msg) == 0 && - gst_sdp_message_phones_len (msg) == 0) - g_string_append_printf (lines, "e=NONE\r\n"); - if (msg->connection.nettype && msg->connection.addrtype && msg->connection.address) { g_string_append_printf (lines, "c=%s %s %s", msg->connection.nettype, |