diff options
Diffstat (limited to 'src/mov_encoder.h')
-rw-r--r-- | src/mov_encoder.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mov_encoder.h b/src/mov_encoder.h index d7e0c17..f006daa 100644 --- a/src/mov_encoder.h +++ b/src/mov_encoder.h @@ -36,6 +36,9 @@ /* * $Log$ + * Revision 1.11 2005/06/14 12:29:40 deva + * Incorporated the use of the Info object everywhere... also using the log functionality. + * * Revision 1.10 2005/05/22 15:49:22 deva * Added multithreaded encoding support. * @@ -83,6 +86,8 @@ using namespace std; #include "thread.h" #include <pthread.h> +#include "info.h" + // size specifies the length of the buffer. #define FAME_BUFFER_SIZE (2*720*576*4) // FIXME: One size fits all... @@ -90,7 +95,8 @@ class MovEncoder : public Thread { public: MovEncoder(sem_t *r_sem, FrameVectorQueue *in, sem_t *in_sem, pthread_mutex_t *in_mutex, - FramePriorityQueue *out, sem_t *out_sem, pthread_mutex_t *out_mutex); + FramePriorityQueue *out, sem_t *out_sem, pthread_mutex_t *out_mutex, + Info *info); ~MovEncoder(); Frame* encode(Frame *frame); @@ -99,6 +105,8 @@ public: volatile bool running; private: + Info *info; + // Input/Output queues FrameVectorQueue *inputqueue; FramePriorityQueue *outputqueue; |