From fe68cd0d7d504f9edb7fd98d9888f10fb21aeb13 Mon Sep 17 00:00:00 2001 From: Milan Zamazal Date: Wed, 6 Nov 2024 21:17:19 +0100 Subject: libcamera: pipeline_handler: Provide cancelRequest Let's extract the two occurrences of canceling a request to a common helper. This is especially useful for the followup patch, which needs to cancel a request from outside. Signed-off-by: Milan Zamazal Reviewed-by: Hans de Goede Reviewed-by: Laurent Pinchart Tested-by: Stanislaw Gruszka Signed-off-by: Laurent Pinchart --- include/libcamera/internal/pipeline_handler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h index 0d380803..fb28a18d 100644 --- a/include/libcamera/internal/pipeline_handler.h +++ b/include/libcamera/internal/pipeline_handler.h @@ -60,6 +60,7 @@ public: bool completeBuffer(Request *request, FrameBuffer *buffer); void completeRequest(Request *request); + void cancelRequest(Request *request); std::string configurationFile(const std::string &subdir, const std::string &name) const; -- cgit v1.2.1