summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/rmd_timer.c')
-rw-r--r--recordmydesktop/src/rmd_timer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_timer.c b/recordmydesktop/src/rmd_timer.c
index edc6f3e..2059f90 100644
--- a/recordmydesktop/src/rmd_timer.c
+++ b/recordmydesktop/src/rmd_timer.c
@@ -32,7 +32,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "recordmydesktop.h"
+#include "rmdtypes.h"
+
#include "rmd_timer.h"
@@ -62,9 +63,9 @@ void *rmdTimer(ProgData *pdata){
}
if (!pdata->paused) {
- frames_total++;
- if(capture_busy){
- frames_lost++;
+ pdata->frames_total++;
+ if (pdata->capture_busy) {
+ pdata->frames_lost++;
}
}
© All Rights Reserved