summaryrefslogtreecommitdiff
path: root/src/decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder.cc')
-rw-r--r--src/decoder.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decoder.cc b/src/decoder.cc
index 3792daf..35ba5ff 100644
--- a/src/decoder.cc
+++ b/src/decoder.cc
@@ -73,10 +73,8 @@ void Decoder::decode()
Frame *pframe = new Frame(ptr, DVPACKAGE_SIZE);
free(ptr);
- pthread_mutex_lock(mutex);
encode_queue->push(eframe);
player_queue->push(pframe);
- pthread_mutex_unlock(mutex);
sem_post(encode_sem);