From 6015d9702e2920644347d5f497c230f3a7133105 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Tue, 17 Mar 2020 01:17:29 +0200
Subject: libcamera: v4l2_videodevice: Rename toV4L2Fourcc to toV4L2PixelFormat

Now that the functions return a V4L2PixelFormat, adapt their name
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
---
 test/libtest/buffer_source.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'test/libtest')

diff --git a/test/libtest/buffer_source.cpp b/test/libtest/buffer_source.cpp
index 26d2764d..dae3cb9f 100644
--- a/test/libtest/buffer_source.cpp
+++ b/test/libtest/buffer_source.cpp
@@ -70,7 +70,8 @@ int BufferSource::allocate(const StreamConfiguration &config)
 	}
 
 	format.size = config.size;
-	format.fourcc = V4L2VideoDevice::toV4L2Fourcc(config.pixelFormat, false);
+	format.fourcc = V4L2VideoDevice::toV4L2PixelFormat(config.pixelFormat,
+							   false);
 	if (video->setFormat(&format)) {
 		std::cout << "Failed to set format on output device" << std::endl;
 		return TestFail;
-- 
cgit v1.2.1