filter: Register the filter chain as the last task.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Sep 2009 20:19:31 +0000 (22:19 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Sep 2009 20:19:31 +0000 (22:19 +0200)
commit06497812fbb743863b865762338a26cdcfa10ea6
treec65c0155ce0bb4c73366f27e7cc4ccd385af2aca
parent64f5ea8d44916f22ca370ccbfd92aa413e1d3a7d
filter: Register the filter chain as the last task.

Without this patch, the command

para_filter -f mp3dec < foo.mp3 > /dev/null

would take several minutes because the stdin buffer is usually full and the stdout buffer empty
which causes select() to be called with empty fd sets, resulting in a one second timeout.
filter.c