output: fix check() to return true if we're still streaming, false otherwise #gklst

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: add monitor thread for reclaiming resources when idle

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: check if tuner is feeding rather than locked when reclaiming resources

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: allow 15 sec grace period after tuning before reclaiming resources

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: remove dead code from monitor_thread()

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