gst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 13 Jun 2008 11:54:05 +0000 (11:54 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 13 Jun 2008 11:54:05 +0000 (11:54 +0000)
commitccddfc5da7afbd4475093a3b77231ed42911e5c8
treeb6463959d2bb837ca49fc186679b0000ecd48d6f
parent5b751d02901fd672973d411d153820fc33f40508
gst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_set_property),
(gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Add property to control automatic join/leave of multicast groups.
Add G_LIKELY.
Remove setting caps on buffers explicitly, basesrc does that for us now.
Improve debug info.
Convert some non-fatal error into warnings.
Use g_ntohs for better portability.
Leave multicast groups when stopping.
When using external sockets, use getsockname() on them to fill up the
addr structure before calling methods that use the structure.
Should all fix #536903.
API: GstUDPSrc::auto-multicast property
ChangeLog
gst/udp/gstudpsrc.c
gst/udp/gstudpsrc.h