diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-08 15:36:15 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-08 15:36:15 +0000 |
commit | eb0b674cabffbf88d756bffdbec52be1b6b47a34 (patch) | |
tree | 74627b6db79bf7e8f2b33c756bfb29c12a402f25 /recordmydesktop/src/rmdthreads.c | |
parent | a5a27ee85e10885a45b1223a885e4f94bc9ace90 (diff) |
rmdthreads.c: header inclusion changes.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@374 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/rmdthreads.c')
-rw-r--r-- | recordmydesktop/src/rmdthreads.c | 15 |
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); |