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)
commit5df309dd0f2a0d0e2992fb565f29a50ea03f0fbc
treef7e834ddcc624d6b5f55809261b6aa273f939632
parent36db5cb890112c5426386ae9db548eb79665ea1f
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
gst/tcp/gstfdset.c
gst/tcp/gstfdset.h
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultifdsink.h