diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 13:59:19 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-17 02:13:53 +0300 |
commit | 49771c6dccb28228839b5e88ada36bd6646bf933 (patch) | |
tree | abf16156ae04ef4462d34da6a4575b999dd795ed /include | |
parent | 2c0fad508cf64624b22cca74e623eb2a2f2c29ef (diff) |
libcamera: ipa_proxy: Allow stop() on a stopped IPA
To make error handling easier in callers, allow the stop() function to
be called when the proxy is already stopped, or not started yet.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/ipa_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h index aec8f04f..b429ce5a 100644 --- a/include/libcamera/internal/ipa_proxy.h +++ b/include/libcamera/internal/ipa_proxy.h @@ -27,6 +27,8 @@ public: std::string configurationFile(const std::string &file) const; + void stop() override = 0; + protected: std::string resolvePath(const std::string &file) const; |