diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/udp/gstmultiudpsink.c | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk> + Patch by: Gustaf Räntilä <g dot rantila at gmail dot com> + + * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render): + Ignore EPERM errors from sendto. Fixes #533619. + +2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk> + Patch by: Henrik Eriksson <henriken at axis dot com> * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init), diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c index a4209e03..57bdd09b 100644 --- a/gst/udp/gstmultiudpsink.c +++ b/gst/udp/gstmultiudpsink.c @@ -388,6 +388,10 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer) (struct sockaddr *) &client->theiraddr, sizeof (client->theiraddr)); if (ret < 0) { + /* we get a non-posix EPERM on Linux when a firewall rule blocks this + * destination. We will simply ignore this. */ + if (errno == EPERM) + break; if (errno != EINTR && errno != EAGAIN) { goto send_error; } |