projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffb0f6
)
sdp: get control string from stream
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 2 Jul 2013 13:54:43 +0000
(15:54 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 2 Jul 2013 13:54:43 +0000
(15:54 +0200)
Use the control string as configured in the stream.
gst/rtsp-server/rtsp-sdp.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-sdp.c
b/gst/rtsp-server/rtsp-sdp.c
index
399367a
..
5dfec79
100644
(file)
--- a/
gst/rtsp-server/rtsp-sdp.c
+++ b/
gst/rtsp-server/rtsp-sdp.c
@@
-154,7
+154,7
@@
gst_rtsp_sdp_from_media (GstSDPMessage * sdp, GstSDPInfo * info,
}
/* the config uri */
- tmp = g
_strdup_printf ("stream=%d", i
);
+ tmp = g
st_rtsp_stream_get_control (stream
);
gst_sdp_media_add_attribute (smedia, "control", tmp);
g_free (tmp);