diff options
Diffstat (limited to 'src/mov_encoder.h')
-rw-r--r-- | src/mov_encoder.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mov_encoder.h b/src/mov_encoder.h index cb233e5..6862c84 100644 --- a/src/mov_encoder.h +++ b/src/mov_encoder.h @@ -55,7 +55,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 *v_out, pthread_mutex_t *v_out_mutex, sem_t *v_out_sem, + FramePriorityQueue *a_out, pthread_mutex_t *a_out_mutex, sem_t *a_out_sem, Info *info); ~MovEncoder(); @@ -71,16 +72,19 @@ private: // Input/Output queues FrameVectorQueue *inputqueue; - FramePriorityQueue *outputqueue; + FramePriorityQueue *video_outputqueue; + FramePriorityQueue *audio_outputqueue; + pthread_mutex_t *input_mutex; + pthread_mutex_t *video_output_mutex; + pthread_mutex_t *audio_output_mutex; //thread stuff sem_t *input_sem; - sem_t *output_sem; + sem_t *video_output_sem; + sem_t *audio_output_sem; sem_t *read_sem; - pthread_mutex_t *input_mutex; - pthread_mutex_t *output_mutex; }; #endif |