summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-02-06 13:47:51 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2013-02-06 13:47:51 +0100
commit2e2426e0fa3bb944a863ec545243e081294af173 (patch)
treecda00dc768a82c3f0c780cf051cdd58ab18e6c35
parentc3337b28d1ee65e7a321157faa00747dcbb19b81 (diff)
downloadgstreamer-plugins-good-2e2426e0fa3bb944a863ec545243e081294af173.tar.gz
rtspsrc: save the stream SSRC
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index c3d719def..788883701 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -2302,6 +2302,9 @@ new_manager_pad (GstElement * manager, GstPad * pad, GstRTSPSrc * src)
if (stream == NULL)
goto unknown_stream;
+ /* save SSRC */
+ stream->ssrc = ssrc;
+
/* create a new pad we will use to stream to */
template = gst_static_pad_template_get (&rtptemplate);
stream->srcpad = gst_ghost_pad_new_from_template (name, pad, template);