summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-05-28 17:33:10 -0400
committerWim Taymans <wim.taymans@collabora.co.uk>2009-05-29 10:39:09 +0200
commit71fe0d7bd3b0704a679e511db2f080cd75864e09 (patch)
tree0ed7f4b1ae6c1252922b457c0e45166f7176e099
parent53eeb90c217f0cc51297de894c152f364208eea3 (diff)
downloadgst-plugins-bad-71fe0d7bd3b0704a679e511db2f080cd75864e09.tar.gz
gst-plugins-bad-71fe0d7bd3b0704a679e511db2f080cd75864e09.tar.bz2
gst-plugins-bad-71fe0d7bd3b0704a679e511db2f080cd75864e09.zip
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 ac79322c..ed080717 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);