serve: re-enable resource reclaiming by default

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
rbuf: dont forget to unlock mutex when bailing out of write()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: improve macro is_streaming() to return false if f_kill_thread is true

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: packet counters should be unsigned long

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: dont feed buffers when there is no data

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: dont stream when there is no data

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: reclaim resources when idle streams found in check()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>