From 4441c868bfa3d831dafb8a1935d58a0e8fefd996 Mon Sep 17 00:00:00 2001
From: Vito Caputo <vcaputo@pengaru.com>
Date: Fri, 13 Nov 2020 11:45:36 -0800
Subject: get_frame: s/rmdGetFrame/rmdGetFrames/

Mechanical rename to more accurate plural form
---
 src/rmd_get_frame.c | 4 ++--
 src/rmd_get_frame.h | 4 ++--
 src/rmd_threads.c   | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/rmd_get_frame.c b/src/rmd_get_frame.c
index cd49258..6f82b4a 100644
--- a/src/rmd_get_frame.c
+++ b/src/rmd_get_frame.c
@@ -399,7 +399,7 @@ static boolean paused(ProgData *pdata)
  * and image_buffer_ready is signaled for the cache/encode side to consume the
  * yuv buffer.
  */
-void *rmdGetFrame(ProgData *pdata)
+void *rmdGetFrames(ProgData *pdata)
 {
 	int	blocks_w = pdata->enc_data->yuv.y_width / Y_UNIT_WIDTH,
 		blocks_h = pdata->enc_data->yuv.y_height / Y_UNIT_WIDTH;
@@ -413,7 +413,7 @@ void *rmdGetFrame(ProgData *pdata)
 	int init_img1 = 0, init_img2 = 0, img_sel, d_buff;
 	unsigned frameno = 0;
 
-	rmdThreadsSetName("rmdGetFrame");
+	rmdThreadsSetName("rmdGetFrames");
 
 	img_sel = d_buff = pdata->args.full_shots;
 
diff --git a/src/rmd_get_frame.h b/src/rmd_get_frame.h
index 162c05e..976c8fd 100644
--- a/src/rmd_get_frame.h
+++ b/src/rmd_get_frame.h
@@ -31,11 +31,11 @@
 
 
 /**
-* Retrieve frame form xserver, and transform to a yuv buffer,
+* Retrieve frames from xserver, and transform to a yuv buffer,
 * either directly(full shots) or by calling UpdateImage.
 * \param pdata ProgData struct containing all program data
 */
-void *rmdGetFrame(ProgData *pdata);
+void *rmdGetFrames(ProgData *pdata);
 
 
 #endif
diff --git a/src/rmd_threads.c b/src/rmd_threads.c
index 8514649..db27716 100644
--- a/src/rmd_threads.c
+++ b/src/rmd_threads.c
@@ -64,7 +64,7 @@ void rmdThreads(ProgData *pdata)
 	/*start threads*/
 	pthread_create(	&image_capture_t,
 			NULL,
-			(void *)rmdGetFrame,
+			(void *)rmdGetFrames,
 			(void *)pdata);
 
 	if (pdata->args.encOnTheFly)
-- 
cgit v1.2.3