mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 02:13:46 +00:00
gst/udp/gstmultiudpsink.c: Ignore EPERM errors from sendto. Fixes #533619.
Original commit message from CVS: 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.
This commit is contained in:
parent
46d94158bc
commit
9d494db510
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Henrik Eriksson <henriken at axis dot com>
|
Patch by: Henrik Eriksson <henriken at axis dot com>
|
||||||
|
|
|
@ -388,6 +388,10 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
||||||
(struct sockaddr *) &client->theiraddr, sizeof (client->theiraddr));
|
(struct sockaddr *) &client->theiraddr, sizeof (client->theiraddr));
|
||||||
|
|
||||||
if (ret < 0) {
|
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) {
|
if (errno != EINTR && errno != EAGAIN) {
|
||||||
goto send_error;
|
goto send_error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue