Use the new Size::isNull() function through the code base to replace manual checks. While the new code isn't equivalent, as isNull() checks that both width and height are zero, it catches the same conditions in practice. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <email@uajain.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> |
||
---|---|---|
.. | ||
list_formats.cpp | ||
meson.build | ||
test_formats.cpp | ||
v4l2_subdevice_test.cpp | ||
v4l2_subdevice_test.h |