diff options
author | deva <deva> | 2005-06-16 21:28:57 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-16 21:28:57 +0000 |
commit | e0592745a40dae2e14e5b6d9226f41a293ababc9 (patch) | |
tree | b3640c07fd6af71aa01bed384613ffda6c03bf41 /src/encoder.h | |
parent | c397f2dcdc399b43cf150f8000e711fc20613deb (diff) |
Rewrote thread object
Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to
growing server queue)
Diffstat (limited to 'src/encoder.h')
-rw-r--r-- | src/encoder.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/encoder.h b/src/encoder.h index 2054f92..7eb1c87 100644 --- a/src/encoder.h +++ b/src/encoder.h @@ -38,6 +38,11 @@ /* * $Log$ + * Revision 1.13 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.12 2005/05/03 08:31:59 deva * Removed the error object, and replaced it with a more generic info object. * @@ -63,6 +68,8 @@ #ifndef __RTVIDEOREC_ENCODER_H #define __RTVIDEOREC_ENCODER_H +#include "thread.h" + #include "info.h" #include <stdio.h> @@ -73,7 +80,6 @@ #include "miav.h" #include "util.h" #include "package.h" -#include "thread.h" #include "frame.h" #include "queue.h" @@ -104,7 +110,7 @@ public: void freeze(); void shoot(); - void run(); + void thread_main(); // AVFormatContext *fc; sem_t *sem; |