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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mov_encoder_thread.h b/src/mov_encoder_thread.h
index 5d38d3b..5684edf 100644
--- a/src/mov_encoder_thread.h
+++ b/src/mov_encoder_thread.h
@@ -52,17 +52,20 @@ private:
Info *info;
FrameVectorQueue *inputqueue;
- FramePriorityQueue *outputqueue;
+ FramePriorityQueue *video_outputqueue;
+ FramePriorityQueue *audio_outputqueue;
FrameVector *block;
//thread stuff
sem_t in_sem;
- sem_t out_sem;
+ sem_t video_out_sem;
+ sem_t audio_out_sem;
sem_t read_sem;
pthread_mutex_t input_mutex;
- pthread_mutex_t output_mutex;
+ pthread_mutex_t video_output_mutex;
+ pthread_mutex_t audio_output_mutex;
// Used for encoder switching
unsigned int frame_number;