diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-07-06 14:52:54 +0100 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-07-10 23:17:17 +0900 |
commit | d76acac30dc714e63057ee0cc424b12624994072 (patch) | |
tree | 16a8e42a40577631be824176f267fd00d786c1b6 /test/byte-stream-buffer.cpp | |
parent | e37e72c61c1021c1a19e031066c11569f948d9d2 (diff) |
libcamera: pipeline: raspberrypi: Fix initial value for scoring routine
Use std::numerical_limits to initialise the best score instead of an
arbitrary value. This fixes a failure in v4l2-conformance when using
the Raspberry Pi pipeline handler and v4l2-compatibility libcamera
layer.
Reported-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/byte-stream-buffer.cpp')
0 files changed, 0 insertions, 0 deletions