summaryrefslogtreecommitdiff
path: root/src/mov_encoder_thread.h
diff options
context:
space:
mode:
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__*/