libcamera: v4l2_device: Prefix V4L2 direction in log messages
The V4L2Device will use the same deviceNode for two directions in the case of an M2M device. Add the direction to identify the queue direction on each instance. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
2ab299a276
commit
c34e09d33a
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ void V4L2Device::close()
|
|||
|
||||
std::string V4L2Device::logPrefix() const
|
||||
{
|
||||
return deviceNode_;
|
||||
return deviceNode_ + (V4L2_TYPE_IS_OUTPUT(bufferType_) ? "[out]" : "[cap]");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue