sdp: get control string from stream

Use the control string as configured in the stream.
This commit is contained in:
Wim Taymans 2013-07-02 15:54:43 +02:00
parent 2ffb0f69d2
commit 714e84d891

View file

@ -154,7 +154,7 @@ gst_rtsp_sdp_from_media (GstSDPMessage * sdp, GstSDPInfo * info,
}
/* the config uri */
tmp = g_strdup_printf ("stream=%d", i);
tmp = gst_rtsp_stream_get_control (stream);
gst_sdp_media_add_attribute (smedia, "control", tmp);
g_free (tmp);