diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-17 01:17:29 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-19 17:14:21 +0200 |
commit | 6015d9702e2920644347d5f497c230f3a7133105 (patch) | |
tree | 3a197dfbf8315c2312ff053fd10feeea68fdefcb /test | |
parent | a7f24a8d9ab5512abb04b12c1feb6972633961e5 (diff) |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/libtest/buffer_source.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |