Skip to content

Commit 86c45c8

Browse files
committed
pipeline: rkisp1: Fix vblank delay
The vblank delay for delayed controls was incorrectly hardcoded to 1. Get it from the camera sensor properties instead. Fixes: f72c76e ("rkisp1: Honor the FrameDurationLimits control") Signed-off-by: Paul Elder <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]>
1 parent 6e24360 commit 86c45c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcamera/pipeline/rkisp1/rkisp1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ int PipelineHandlerRkISP1::createCamera(MediaEntity *sensor)
13251325
std::unordered_map<uint32_t, DelayedControls::ControlParams> params = {
13261326
{ V4L2_CID_ANALOGUE_GAIN, { delays.gainDelay, false } },
13271327
{ V4L2_CID_EXPOSURE, { delays.exposureDelay, false } },
1328-
{ V4L2_CID_VBLANK, { 1, false } },
1328+
{ V4L2_CID_VBLANK, { delays.vblankDelay, false } },
13291329
};
13301330

13311331
data->delayedCtrls_ =

0 commit comments

Comments
 (0)