summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2008-06-04 11:59:18 +0000
committerPeter Kjellerstedt <pkj@axis.com>2008-06-04 11:59:18 +0000
commitd60878ab14b68928e976afafddb74629e2a67ae7 (patch)
tree0ca337e64ee3213b4a44ec10f4de7710a49c38a0 /gst/rtsp
parent21c48f1a1d6b83c7f770f4b32ea5901a42b61683 (diff)
gst/rtsp/gstrtspsrc.c: Use the new gst_rtsp_connection_get_ip() to access the IP address of a GstRTSPConnection since...
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink): Use the new gst_rtsp_connection_get_ip() to access the IP address of a GstRTSPConnection since it is a private member.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 06f2d801..68c4fbea 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -2032,7 +2032,8 @@ gst_rtspsrc_stream_configure_udp_sink (GstRTSPSrc * src, GstRTSPStream * stream,
{
GstPad *pad;
gint port, sockfd = -1;
- gchar *destination, *uri, *name;
+ const gchar *destination;
+ gchar *uri, *name;
/* no session, we're done */
if (src->session == NULL)
@@ -2048,7 +2049,7 @@ gst_rtspsrc_stream_configure_udp_sink (GstRTSPSrc * src, GstRTSPStream * stream,
* the RTCP. */
destination = transport->source;
if (destination == NULL)
- destination = src->connection->ip;
+ destination = gst_rtsp_connection_get_ip (src->connection);
GST_DEBUG_OBJECT (src, "configure UDP sink for %s:%d", destination, port);