From 5ce6553ccf5502fc71d11d654c76bd1714cd36dd Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 14 Jul 2020 18:48:15 -0700 Subject: *: get rid of unused frames_{total,lost} these concepts may return but not in this form --- src/rmd_timer.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/rmd_timer.c') 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); -- cgit v1.2.3