diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-25 18:48:26 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-01 12:08:40 +0300 |
commit | 207e52b8d35e1684df20c65fe379d46bee442987 (patch) | |
tree | 74e274dee9515d9bfa31ca5133667adfb27d0bc2 /src/gstreamer/gstlibcamerapool.h | |
parent | 8a606e6c6735be3bab2e7e06d89b72a6626e0b3a (diff) |
libcamera: base: log: Log to std::cerr if log file can't be opened
If the log file specified through LIBCAMERA_LOG_FILE can't be opened,
logging is currently completely disabled. This doesn't match the
documented behaviour that tells std::cerr is used instead. Fix it to
match the documentation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.h')
0 files changed, 0 insertions, 0 deletions