add to C??FLAGS: -D_GNU_SOURCE -D__USE_LARGEFILE64

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: make channels.conf parser a bit more fault-tolerant

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: add functional API for fetching EPG events via callback

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dvbtee: update copyright date

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dvbtee: display github repository location on startup

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dvbtee: increment version to 0.1.5 (since much time passed since 0.1.4)

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
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>
serve: disable resource reclaiming by default (for now)

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
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>
serve: allow starting the server with the CLI disabled

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