diff options
author | deva <deva> | 2005-06-14 12:29:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-14 12:29:40 +0000 |
commit | 430524810e67d3c223a2ab819f45b882b419c45d (patch) | |
tree | 0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/mov_encoder_writer.h | |
parent | 0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff) |
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/mov_encoder_writer.h')
-rw-r--r-- | src/mov_encoder_writer.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mov_encoder_writer.h b/src/mov_encoder_writer.h index 816abac..4ed144f 100644 --- a/src/mov_encoder_writer.h +++ b/src/mov_encoder_writer.h @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.3 2005/06/14 12:29:40 deva + * Incorporated the use of the Info object everywhere... also using the log functionality. + * * Revision 1.2 2005/05/26 12:48:36 deva * *** empty log message *** * @@ -45,13 +48,19 @@ #include "frame.h" #include "thread.h" +#include "file.h" +#include "info.h" #include <string> using namespace std; class MovEncoderWriter : public Thread { public: - MovEncoderWriter(const char* filename, FramePriorityQueue *q, sem_t *s, pthread_mutex_t *m); + MovEncoderWriter(const char* cpr, + FramePriorityQueue *q, + sem_t *s, + pthread_mutex_t *m, + Info *info); ~MovEncoderWriter(); void run(); @@ -59,11 +68,9 @@ public: volatile bool running; private: - // for use when creating multiple files in one movie. - int sequence_number; + Info *info; - string filename; - int file; + File *file; FramePriorityQueue *queue; pthread_mutex_t *mutex; |