projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad4b79
)
#ifdef statements for windows socket creation were missing
author
mat
<matzepopatze@gmx.de>
Thu, 3 Nov 2011 09:48:40 +0000
(10:48 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 3 Nov 2011 10:56:51 +0000
(11:56 +0100)
gst/rtsp-server/rtsp-server.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-server.c
b/gst/rtsp-server/rtsp-server.c
index
4477d8d
..
f1f431f
100644
(file)
--- 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);