summaryrefslogtreecommitdiff
path: root/src/mov_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mov_encoder.cc')
-rw-r--r--src/mov_encoder.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mov_encoder.cc b/src/mov_encoder.cc
index a9a2ca2..4e8189c 100644
--- a/src/mov_encoder.cc
+++ b/src/mov_encoder.cc
@@ -165,5 +165,11 @@ void MovEncoder::thread_main()
}
}
+ // Kick multiplexer (audio)
+ sem_post(audio_output_sem);
+
+ // Kick multiplexer (video)
+ sem_post(video_output_sem);
+
info->info("MovEncoder thread has stopped.");
}