summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/sdp/gstsdpmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/sdp/gstsdpmessage.c b/gst-libs/gst/sdp/gstsdpmessage.c
index 3d2757e31..e2fe17716 100644
--- a/gst-libs/gst/sdp/gstsdpmessage.c
+++ b/gst-libs/gst/sdp/gstsdpmessage.c
@@ -1341,7 +1341,7 @@ gst_sdp_media_as_text (const GstSDPMedia * media)
if (attr->key) {
g_string_append_printf (lines, "a=%s", attr->key);
- if (attr->value)
+ if (attr->value && attr->value[0] != '\0')
g_string_append_printf (lines, ":%s", attr->value);
g_string_append_printf (lines, "\r\n");
}