gst/tcp/: Some extra checks in gstfdset.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 18 Aug 2004 16:13:19 +0000 (16:13 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 18 Aug 2004 16:13:19 +0000 (16:13 +0000)
commit5940181dabba6c5c2936518d4c3dc350359ffa40
tree8dedc30ef6dfdbfa81be05cc79d1fe5ae16981d9
parenta7d1df9129d4d44d48b7d3f6af71b6c835b74504
gst/tcp/: Some extra checks in gstfdset.

Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_free), (gst_fdset_set_mode),
(gst_fdset_get_mode), (gst_fdset_add_fd), (gst_fdset_remove_fd),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
* gst/tcp/gstfdset.h:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write):
* gst/tcp/gstmultifdsink.h:
Some extra checks in gstfdset.
Only use send() when the fd is a socket. Don't try to
read from write only fds.
ChangeLog