diff options
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; |