summaryrefslogtreecommitdiff
path: root/test/signal-threads.cpp
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2024-12-10 18:56:03 +0100
committerBarnabás Pőcze <pobrn@protonmail.com>2025-01-06 10:18:44 +0100
commitfe33e727f278123e91ce5ebe75af08dec514cc5a (patch)
treeeb87771ed8cb216698bdcce29e4ee6a046f141f8 /test/signal-threads.cpp
parent277a28691c08f46a0a80e61bd19436dde0fae004 (diff)
libcamera: virtual: Query number of planes correctly
`PixelFormatInfo::planes.size()` always returns 3 since `planes` is an array, but that is not the number of planes of the pixel format. Use the `numPlanes()` getter instead. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/signal-threads.cpp')
0 files changed, 0 insertions, 0 deletions