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:
0e9ce1c
)
client: use method to access property
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 16 Aug 2011 14:07:04 +0000
(16:07 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 16 Aug 2011 14:07:04 +0000
(16:07 +0200)
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
9b8e6ce
..
3d4dd69
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-1070,6
+1070,7
@@
create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
GstSDPMessage *sdp;
GstSDPInfo info;
const gchar *proto;
+ GstRTSPLowerTrans protocols;
gst_sdp_message_new (&sdp);
@@
-1092,7
+1093,8
@@
create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
gst_sdp_message_add_attribute (sdp, "control", "*");
info.server_proto = proto;
- if (media->protocols & GST_RTSP_LOWER_TRANS_UDP_MCAST)
+ protocols = gst_rtsp_media_get_protocols (media);
+ if (protocols & GST_RTSP_LOWER_TRANS_UDP_MCAST)
info.server_ip = gst_rtsp_media_get_multicast_group (media);
else
info.server_ip = g_strdup (client->server_ip);