summaryrefslogtreecommitdiff
path: root/src/rmd_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_timer.c')
-rw-r--r--src/rmd_timer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/rmd_timer.c b/src/rmd_timer.c
index be757a6..f584bf2 100644
--- a/src/rmd_timer.c
+++ b/src/rmd_timer.c
@@ -113,13 +113,7 @@ void *rmdTimer(ProgData *pdata) {
}
}
- if (!pdata->paused) {
- pthread_mutex_unlock(&pdata->pause_mutex);
-
- /* FIXME TODO: detect dropped frames by delta between {time,capture}_frameno */
- pdata->frames_total++;
- } else
- pthread_mutex_unlock(&pdata->pause_mutex);
+ pthread_mutex_unlock(&pdata->pause_mutex);
if (!pdata->args.nosound)
sync_streams(pdata, &frame_step, &delay);
© All Rights Reserved