summaryrefslogtreecommitdiff
path: root/src/cam/stream_options.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-14 00:20:06 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-15 00:04:54 +0300
commit93be96431a5cdacfe632c3cfb6763b90649bc590 (patch)
treeb6e43ee7c26142972bdc9ff25884e09697436c2f /src/cam/stream_options.h
parent304ea65551b410a82b81dfd83e25b089ce158954 (diff)
libcamera: log: De-duplicate _log() functions and LogMessage constructor
The _log() functions, as well as the LogMessage constructor, exist in two versions, one that takes a log category, and one that doesn't. The latter uses the default log category. This can be simplified by passing a LogCategory pointer to _log(), which can then be null for the default category, and moving the retrieval of the default log category from the LogMessage constructor to the _log() function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/stream_options.h')
0 files changed, 0 insertions, 0 deletions