summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLRN <lrn1986 at gmail.com>2009-06-30 21:35:37 +0400
committerWim Taymans <wim@metal.(none)>2009-06-30 20:38:33 +0200
commit122d40a742b18ddaf8873d9c700f87738bd74f38 (patch)
treec825426bcaf9cf9f4db173fdaa32694fe4bad0f3
parent89f0c37c9fc1debc75b28b9fc627a25c3769583b (diff)
Don't use sendmsg()-dependent code on Windows
Fixes #585842
-rw-r--r--gst/udp/gstmultiudpsink.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index ac4c130c9..68eea75cf 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -119,4 +119,6 @@ static GstFlowReturn gst_multiudpsink_render (GstBaseSink * sink,
GstBuffer * buffer);
+#ifndef G_OS_WIN32 /*sendmsg() is not available on Windows*/
static GstFlowReturn gst_multiudpsink_render_list (GstBaseSink * bsink,
GstBufferList * list);
+#endif
static GstStateChangeReturn gst_multiudpsink_change_state (GstElement *
@@ -322,3 +324,5 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
gstbasesink_class->render = gst_multiudpsink_render;
+#ifndef G_OS_WIN32
gstbasesink_class->render_list = gst_multiudpsink_render_list;
+#endif
klass->add = gst_multiudpsink_add;
@@ -432,2 +436,3 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
+#ifndef G_OS_WIN32
static GstFlowReturn
@@ -518,2 +523,3 @@ invalid_list:
}
+#endif