summaryrefslogtreecommitdiff
path: root/src/mov_encoder_thread.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-16 21:28:57 +0000
committerdeva <deva>2005-06-16 21:28:57 +0000
commite0592745a40dae2e14e5b6d9226f41a293ababc9 (patch)
treeb3640c07fd6af71aa01bed384613ffda6c03bf41 /src/mov_encoder_thread.h
parentc397f2dcdc399b43cf150f8000e711fc20613deb (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/mov_encoder_thread.h')
-rw-r--r--src/mov_encoder_thread.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mov_encoder_thread.h b/src/mov_encoder_thread.h
index 330e6e6..a4d334d 100644
--- a/src/mov_encoder_thread.h
+++ b/src/mov_encoder_thread.h
@@ -31,6 +31,11 @@
/*
* $Log$
+ * Revision 1.8 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.7 2005/06/14 12:29:40 deva
* Incorporated the use of the Info object everywhere... also using the log functionality.
*
@@ -64,9 +69,6 @@
#include <fcntl.h>
#include <unistd.h>
-#include <pthread.h>
-#include <semaphore.h>
-
#include <vector>
using namespace std;
@@ -99,17 +101,16 @@ private:
pthread_mutex_t output_mutex;
// Used for encoder switching
- int current_frame;
unsigned int frame_number;
unsigned int num_frames_in_block;
MovEncoderWriter *writer;
- pthread_t* writer_tid;
+ // pthread_t* writer_tid;
int threads;
vector<MovEncoder*> encs;
- vector<pthread_t*> tids;
+ // vector<pthread_t*> tids;
};
#endif/*__MIAV_MOV_ENCODER_THREAD_H__*/