summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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