mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
pipeline: rpi: vc4: Fix drop frame bug when no ISP streams are configured
If no ISP output streams are configured, the ISP output count is skipped for the the low res stream, and causes the drop frame logic to fail because of a count mismatch. This in-turn stops any requests from completing correctly. Fix this by ensuring the low res output is counted correctly when no ISP output streams are configured. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
226a1dacb1
commit
34b248c88f
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ int Vc4CameraData::platformConfigure(const RPi::RPiCameraConfiguration *rpiConfi
|
|||
* \todo If Output 1 format is not YUV420, Output 1 ought to be disabled as
|
||||
* colour denoise will not run.
|
||||
*/
|
||||
if (outStreams.size() == 1) {
|
||||
if (outStreams.size() <= 1) {
|
||||
V4L2VideoDevice *dev = isp_[Isp::Output1].dev();
|
||||
|
||||
V4L2DeviceFormat output1Format;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue