Replace eof by error in receivers/filters/writers.
authorAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 16:01:47 +0000 (17:01 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 16:01:47 +0000 (17:01 +0100)
commit19d9318abf42debb15d833d4e56ab636893285c3
tree4e1577e534b55fdf2f749fc4432fea5141b3827a
parent51dde9efab2d662cf5813d26d5c9aebce6e197e7
Replace eof by error in receivers/filters/writers.

This way it's possible to tell at a later time why
the receiver/filter/writer terminated.

This allows to increase the delay for reconnecting in case
the receiver failed to connect to para_server: Let the receivers
set the error value to -E_RECV_EOF in case a normal end of file
event occurred and check this value when calculating the restart
barrier.
23 files changed:
aacdec.c
alsa_write.c
audiod.c
client.c
client.h
client_common.c
dccp_recv.c
error.h
filter.c
filter.h
filter_chain.c
http_recv.c
oggdec.c
ortp_recv.c
recv.c
recv.h
stdin.c
stdin.h
stdout.c
stdout.h
write.c
write.h
write_common.c