diff stream/stream_rtp.c @ 35300:ebcf337f1786

Remove proxy "support" from stream_rtp and stream_upd, trying to use a http proxy for UDP connections makes no sense.
author reimar
date Sat, 10 Nov 2012 13:18:38 +0000
parents a93891202051
children
line wrap: on
line diff
--- a/stream/stream_rtp.c	Sat Nov 10 13:13:29 2012 +0000
+++ b/stream/stream_rtp.c	Sat Nov 10 13:18:38 2012 +0000
@@ -71,18 +71,15 @@
 static int
 rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
 {
-  URL_t *url;
-
   mp_msg (MSGT_OPEN, MSGL_INFO, "STREAM_RTP, URL: %s\n", stream->url);
   stream->streaming_ctrl = streaming_ctrl_new ();
   if (!stream->streaming_ctrl)
     return STREAM_ERROR;
 
   stream->streaming_ctrl->bandwidth = network_bandwidth;
-  url = url_new (stream->url);
-  stream->streaming_ctrl->url = check4proxies (url);
+  stream->streaming_ctrl->url = url_new(stream->url);
 
-  if (url->port == 0)
+  if (stream->streaming_ctrl->url->port == 0)
   {
     mp_msg (MSGT_NETWORK, MSGL_ERR,
             "You must enter a port number for RTP streams!\n");