summaryrefslogtreecommitdiff
path: root/src/rmd_timer.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-14 18:48:15 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-14 18:48:15 -0700
commit5ce6553ccf5502fc71d11d654c76bd1714cd36dd (patch)
tree3aa0da1ff240acf08c54c2954ee785a704bb38e4 /src/rmd_timer.c
parent2101b1f76e5e7eab4b4ea632db226fb76d99eeda (diff)
*: get rid of unused frames_{total,lost}
these concepts may return but not in this form
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