#ifdef statements for windows socket creation were missing

This commit is contained in:
mat 2011-11-03 10:48:40 +01:00 committed by Wim Taymans
parent 6ad4b79c7e
commit 20b6be3852

View file

@ -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);