gst/tcp/: make multifdsink properly deal with streamheader:
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 2 Jun 2006 16:26:54 +0000 (16:26 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 2 Jun 2006 16:26:54 +0000 (16:26 +0000)
commit7524f806cdf6006bd23b768cdd60c1de23185766
treed0389a1000996c83ca1265faeff3242745422f4a
parent61b592b753eaf50ab41c170e6cb802c15f293ec2
gst/tcp/: make multifdsink properly deal with streamheader:

Original commit message from CVS:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_init),
(gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_client_queue_caps),
(gst_multi_fd_sink_client_queue_buffer),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_render):
* gst/tcp/gstmultifdsink.h:
make multifdsink properly deal with streamheader:
- streamheader is taken from caps
- buffers marked with IN_CAPS are not sent
- streamheaders are sent, on connection, from the caps of the
buffer where the client gets positioned to
- further streamheader changes are done every time the client
will receive a buffer with different caps
* tests/check/elements/multifdsink.c: (GST_START_TEST),
(gst_multifdsink_create_streamheader):
add tests for this
ChangeLog
gst/tcp/README
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultifdsink.h
tests/check/elements/multifdsink.c