diff options
author | mat <matzepopatze@gmx.de> | 2011-11-03 10:48:40 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-03 11:56:51 +0100 |
commit | 20b6be38527123836c656570b1d503fc7967ca39 (patch) | |
tree | aeac2ce44d7fadd9ebc0a0dfab5cfb1130c625fd | |
parent | 6ad4b79c7ebc333f96cc0acb2b4881c402b92e5d (diff) |
#ifdef statements for windows socket creation were missing
-rw-r--r-- | gst/rtsp-server/rtsp-server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-server.c b/gst/rtsp-server/rtsp-server.c index 4477d8d..f1f431f 100644 --- a/gst/rtsp-server/rtsp-server.c +++ b/gst/rtsp-server/rtsp-server.c @@ -650,7 +650,11 @@ gst_rtsp_server_get_io_channel (GstRTSPServer * server) "listened on server socket %d, returning from connection setup", sockfd); /* create IO channel for the socket */ +#ifdef G_OS_WIN32 + channel = g_io_channel_win32_new_socket (sockfd); +#else channel = g_io_channel_unix_new (sockfd); +#endif g_io_channel_set_close_on_unref (channel, TRUE); GST_INFO_OBJECT (server, "listening on service %s", server->service); |