From 91a1cfc1fc9bb46afe6a2faec5edbb59c2f07354 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 14 Jul 2020 14:24:28 -0700 Subject: get_frame: s/cond_broadcast/cond_signal/ Vestigial broadcast, only a single waiter on this now. --- src/rmd_get_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmd_get_frame.c b/src/rmd_get_frame.c index 86d56f7..4f8343a 100644 --- a/src/rmd_get_frame.c +++ b/src/rmd_get_frame.c @@ -581,7 +581,7 @@ void *rmdGetFrame(ProgData *pdata) { /* notify the encoder of the new frame */ pthread_mutex_lock(&pdata->img_buff_ready_mutex); pdata->capture_frameno = time_frameno; - pthread_cond_broadcast(&pdata->image_buffer_ready); + pthread_cond_signal(&pdata->image_buffer_ready); pthread_mutex_unlock(&pdata->img_buff_ready_mutex); } -- cgit v1.2.3