summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-14 14:24:28 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-14 15:51:38 -0700
commit91a1cfc1fc9bb46afe6a2faec5edbb59c2f07354 (patch)
treefc178f734ff657ec07f8bf67ca9734eec108c0b7 /src
parente4028bfe09ea77a99cc74ab03c9c3d69ae57d05e (diff)
get_frame: s/cond_broadcast/cond_signal/
Vestigial broadcast, only a single waiter on this now.
Diffstat (limited to 'src')
-rw-r--r--src/rmd_get_frame.c2
1 files changed, 1 insertions, 1 deletions
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);
}
© All Rights Reserved