summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/rmdthreads.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/recordmydesktop/src/rmdthreads.c b/recordmydesktop/src/rmdthreads.c
index 014a1d6..6e4bf34 100644
--- a/recordmydesktop/src/rmdthreads.c
+++ b/recordmydesktop/src/rmdthreads.c
@@ -25,7 +25,18 @@
******************************************************************************/
-#include <recordmydesktop.h>
+#ifdef HAVE_CONFIG_H
+ #include <config.h>
+#endif
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <pthread.h>
+#include <unistd.h>
+#include <rmdfunc.h>
+#include <rmdtypes.h>
+
+
void rmdThreads(ProgData *pdata){
pthread_t poll_damage_t,
@@ -112,6 +123,7 @@ void rmdThreads(ProgData *pdata){
else
pthread_join(image_cache_t,NULL);
fprintf(stderr,".");
+
if(!pdata->args.nosound){
#ifdef HAVE_JACK_H
if(pdata->args.use_jack)
@@ -140,6 +152,7 @@ void rmdThreads(ProgData *pdata){
pthread_join(flush_to_ogg_t,NULL);
fprintf(stderr,".");
+
if(!pdata->args.full_shots)
pthread_join(poll_damage_t,NULL);
© All Rights Reserved