diff options
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r-- | recordmydesktop/src/initialize_data.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_timer.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c index 2fbece0..56e3beb 100644 --- a/recordmydesktop/src/initialize_data.c +++ b/recordmydesktop/src/initialize_data.c @@ -113,8 +113,6 @@ int InitializeData(ProgData *pdata, pdata->paused = FALSE; pdata->aborted = FALSE; pdata->pause_state_changed = FALSE; - time_cond=&pdata->time_cond; - pause_cond=&pdata->pause_cond; if(!pdata->args.nosound){ if(!pdata->args.use_jack){ diff --git a/recordmydesktop/src/rmd_timer.c b/recordmydesktop/src/rmd_timer.c index 2cd3723..0f8a032 100644 --- a/recordmydesktop/src/rmd_timer.c +++ b/recordmydesktop/src/rmd_timer.c @@ -54,7 +54,7 @@ void *rmdTimer(ProgData *pdata){ pdata->paused = FALSE; fprintf(stderr,"STATE:RECORDING\n");fflush(stderr); pthread_mutex_lock(&pause_mutex); - pthread_cond_broadcast(pause_cond); + pthread_cond_broadcast(&pdata->pause_cond); pthread_mutex_unlock(&pause_mutex); } @@ -68,7 +68,7 @@ void *rmdTimer(ProgData *pdata){ } pthread_mutex_lock(&time_mutex); - pthread_cond_broadcast(time_cond); + pthread_cond_broadcast(&pdata->time_cond); pthread_mutex_unlock(&time_mutex); |