mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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.
This commit is contained in:
parent
21c48f1a1d
commit
d60878ab14
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-04 Peter Kjellerstedt <pkj@axis.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2008-06-04 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* ext/flac/gstflacdec.c: (gst_flac_extract_picture_buffer):
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue