From e0592745a40dae2e14e5b6d9226f41a293ababc9 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 16 Jun 2005 21:28:57 +0000 Subject: Rewrote thread object Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to growing server queue) --- src/encoder.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/encoder.cc') diff --git a/src/encoder.cc b/src/encoder.cc index f16a754..9bc6b56 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -39,6 +39,11 @@ /* * $Log$ + * Revision 1.29 2005/06/16 21:28:57 deva + * Rewrote thread object + * Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to + * growing server queue) + * * Revision 1.28 2005/05/25 13:11:42 deva * * Made unfreeze close connection, when no recording is done. @@ -240,7 +245,7 @@ void Encoder::shoot() } -void Encoder::run() { +void Encoder::thread_main() { encode(); if(s) { if(n) delete n; -- cgit v1.2.3