Skip to content
  • Laurent Glayal's avatar
    gst/udp/: Rework the socket allocation a bit based on the sockfd argument so... · 112216c2
    Laurent Glayal authored and Wim Taymans's avatar Wim Taymans committed
    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
    112216c2