gst/udp/: Rework the socket allocation a bit based on the sockfd argument so that...
authorLaurent Glayal <spglegle@yahoo.fr>
Thu, 29 Mar 2007 09:59:23 +0000 (09:59 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 29 Mar 2007 09:59:23 +0000 (09:59 +0000)
commit112216c22f971c56ad8c3e952b146868180cd157
treed00fe33e3e025d7bcad149a559e3acb16d35dd76
parentd94a696bcd11dd7cf1de4145609788c60ec7f2b7
gst/udp/: Rework the socket allocation a bit based on the sockfd argument so that it becomes usable.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init),
(gst_dynudpsink_init), (gst_dynudpsink_set_property),
(gst_dynudpsink_get_property), (gst_dynudpsink_init_send),
(gst_dynudpsink_close):
* gst/udp/gstdynudpsink.h:
* 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:
Rework the socket allocation a bit based on the sockfd argument so that
it becomes usable.
Add a closefd property to instruct the udp elements to close the custom
file descriptors when going to READY. Fixes #423304.
API:GstUDPSrc::closefd property
API:GstDynUDPSink::closefd property
ChangeLog
gst/udp/gstdynudpsink.c
gst/udp/gstdynudpsink.h
gst/udp/gstudpsrc.c
gst/udp/gstudpsrc.h