sdpmessage: do not append NULL value for session-level attr
authorJustin Kim <justin.kim@collabora.com>
Wed, 1 Nov 2017 03:44:59 +0000 (12:44 +0900)
committerMatthew Waters <matthew@centricular.com>
Wed, 1 Nov 2017 06:09:47 +0000 (17:09 +1100)
commitd100180ce3838c9705c23ce03e69fa9ba921a5ae
tree5a49ff5c04d8a02f0cb5b75a96b2480d559aafd8
parentcb0b73672cc35e14b27cb2c6f8295e8242af0875
sdpmessage: do not append NULL value for session-level attr

If an attribute is defined without value, the generated text
should be 'a=key' rather than 'a=key:'. For media-level, it
has already been done.

https://bugzilla.gnome.org/show_bug.cgi?id=789742
gst-libs/gst/sdp/gstsdpmessage.c
tests/check/libs/sdp.c