summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpnetutils.c
Commit message (Collapse)AuthorAgeFilesLines
* gst/udp/: Fix multiudpsink on OSX by passing the specific length of the ↵Michael Smith2008-11-201-0/+17
| | | | | | | | | | | | socket, refactor that into a function shared ... Original commit message from CVS: * gst/udp/gstmultiudpsink.c: * gst/udp/gstudpnetutils.c: * gst/udp/gstudpnetutils.h: * gst/udp/gstudpsrc.c: Fix multiudpsink on OSX by passing the specific length of the socket, refactor that into a function shared with the same thing in udpsrc.
* gst/goom/: Fix build with MSVC: include glib.h to define inline ↵Michael Smith2008-07-231-1/+13
| | | | | | | | | | | | | | | | | | appropriately, use header guards where needed. Original commit message from CVS: * gst/goom/convolve_fx.c: * gst/goom/filters.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goom_tools.h: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed. * gst/udp/gstudpnetutils.c: * gst/udp/gstudpsrc.c: Fix build with MSVC: use WSA* constants/functions where appropriate, use g_snprintf rather than snprintf. Fixes #544433.
* gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. ↵Sebastian Dröge2008-07-141-0/+5
| | | | | | | | | | Define it to the old value (1) if it's n... Original commit message from CVS: * gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's not defined which should not cause any problems as we're using it internal only anyway.
* gst/udp/gstudpnetutils.c: Use g_ntohl for better portability.Wim Taymans2008-06-131-1/+1
| | | | | | Original commit message from CVS: * gst/udp/gstudpnetutils.c: (gst_udp_is_multicast): Use g_ntohl for better portability.
* gst/smpte/gstsmptealpha.c: Fix debug statement arguments.Julien Moutte2008-05-221-2/+2
| | | | | | | | | | | | Original commit message from CVS: 2008-05-22 Julien Moutte <julien@fluendo.com> * gst/smpte/gstsmptealpha.c: (gst_smpte_alpha_setcaps): Fix debug statement arguments. * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_setup_qos_dscp): * gst/udp/gstudpnetutils.c: (gst_udp_join_group), (gst_udp_leave_group): Fix IP and IPV6 options to make it work on more platforms.
* gst/udp/: Joining a multicast group and setting the loop/ttl properties are ↵Wim Taymans2008-05-211-23/+43
| | | | | | | | | | | | | | totally unrelated tasks are must be separ... Original commit message from CVS: * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send), (gst_multiudpsink_add_internal): * gst/udp/gstudpnetutils.c: (gst_udp_set_loop_ttl), (gst_udp_join_group): * gst/udp/gstudpnetutils.h: * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Joining a multicast group and setting the loop/ttl properties are totally unrelated tasks are must be separated.
* gst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with ↵Bruno Santos2008-05-211-11/+179
| | | | | | | | | | | | | | | | | | | | | | | | | IPv4 and IPv6 transparently. Original commit message from CVS: Patch by: Bruno Santos <brunof at ua dot pt> * gst/udp/gstudpnetutils.c: (gst_udp_get_addr), (gst_udp_join_group), (gst_udp_leave_group), (gst_udp_is_multicast): * gst/udp/gstudpnetutils.h: Provide a bunch of helper methods to deal with IPv4 and IPv6 transparently. * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init), (gst_multiudpsink_init), (gst_multiudpsink_set_property), (gst_multiudpsink_get_property), (join_multicast), (gst_multiudpsink_init_send), (gst_multiudpsink_add_internal), (gst_multiudpsink_remove): * gst/udp/gstmultiudpsink.h: Add multicast TTL and loopback properties. Use the helper methods to implement ip4 and ip6. * gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start): * gst/udp/gstudpsrc.h: Use the helper methods to implement ip4 and ip6. Fixes #515962.
* Port udp plugin to win32 (#345288).Joni Valtanen2006-07-241-0/+62
Original commit message from CVS: Based on patch by: Joni Valtanen <joni dot valtanen at movial fi> * configure.ac: * gst/udp/Makefile.am: * gst/udp/gstdynudpsink.c: (gst_dynudpsink_init), (gst_dynudpsink_finalize), (gst_dynudpsink_close): * gst/udp/gstdynudpsink.h: * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init), (gst_multiudpsink_finalize), (gst_multiudpsink_close): * gst/udp/gstmultiudpsink.h: * gst/udp/gstudp.c: (plugin_init): * gst/udp/gstudpsink.h: * gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create), (gst_udpsrc_start), (gst_udpsrc_stop): * gst/udp/gstudpsrc.h: * gst/udp/gstudpnetutils.c: (gst_udp_net_utils_win32_inet_aton), (gst_udp_net_utils_win32_wsa_startup): * gst/udp/gstudpnetutils.h: Port udp plugin to win32 (#345288).