GNOME Bugzilla – Bug 553191
udpsrc: bind() fails on OS X
Last modified: 2008-10-23 13:53:11 UTC
OS X's bind() implementation is picky about its addrlen parameter and fails with EINVAL if it is larger than expected for the socket's address family. This is breaking udpsrc.
Created attachment 119139 [details] [review] Fix
Patch by: Daniel Franke <df at dfranke dot us> * gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start): OS X's bind() implementation is picky about its addrlen parameter and fails with EINVAL if it is larger than expected for the socket's address family. Set the length to the expected length instead. Fixes #553191.
*** Bug 557610 has been marked as a duplicate of this bug. ***