aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/stream_netstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/stream_netstream.c')
-rw-r--r--libmpdemux/stream_netstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stream_netstream.c b/libmpdemux/stream_netstream.c
index 52ebece44d..720de98a75 100644
--- a/libmpdemux/stream_netstream.c
+++ b/libmpdemux/stream_netstream.c
@@ -252,7 +252,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
return STREAM_ERROR;
}
- f = connect2Server(p->host,p->port);
+ f = connect2Server(p->host,p->port,1);
if(f < 0) {
mp_msg(MSGT_OPEN,MSGL_ERR, "Connection to %s:%d failed\n",p->host,p->port);
m_struct_free(&stream_opts,opts);