gst/tcp/: Small cleanups in fdset.c
authorWim Taymans <wim.taymans@gmail.com>
Fri, 17 Sep 2004 10:06:52 +0000 (10:06 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 17 Sep 2004 10:06:52 +0000 (10:06 +0000)
commit303335afd6d73ef47932545f1181eb96f2b61478
treede643e8aba61836fba34e032db21f1d9a8d54de0
parent20a51cbe76a4b4a4186a4388f01423b76d6c7a5e
gst/tcp/: Small cleanups in fdset.c

Original commit message from CVS:
* gst/tcp/gstfdset.c: (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/gstmultifdsink.c: (gst_client_status_get_type),
(gst_multifdsink_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_get_stats),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_handle_clients),
(gst_multifdsink_close), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_removed):
Small cleanups in fdset.c
Use a hastable to map fd to the client structure for faster
lookup in _remove and get_stats.
Added virtual function to close the fds.
Handle clients even when the select/poll call was unblocked because
of a command.
Implement syncing to keyframe in the recovery procedure.
ChangeLog