summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <olivier.crete@collabora.co.uk>2009-05-28 17:33:10 -0400
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-11 02:30:45 +0100
commitdee142a945ac843b1ec602a3e2b8aa43315aa346 (patch)
tree4bbf340ab73a1f7ad7d0f9cd8180c6b83c05361f
parentbf15048f4269176dd1cd5069c2d7dedf0a2a1007 (diff)
Add ssrc to application/x-rtp-source-sdes structure
-rw-r--r--gst/rtpmanager/rtpsource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index ac79322c1..ed0807171 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -322,7 +322,8 @@ rtp_source_create_sdes (RTPSource * src)
GstStructure *s;
gchar *str;
- s = gst_structure_new ("application/x-rtp-source-sdes", NULL);
+ s = gst_structure_new ("application/x-rtp-source-sdes",
+ "ssrc", G_TYPE_UINT, (guint) src->ssrc, NULL);
if ((str = rtp_source_get_sdes_string (src, GST_RTCP_SDES_CNAME))) {
gst_structure_set (s, "cname", G_TYPE_STRING, str, NULL);