libcamera: pipeline: simple: Use MediaLink string helper
Replace the open-coded implementation of a link representation with the operator<< overload string representation to simplify the code and unify appearance of reporting MediaLinks. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4035f5754e
commit
66c9b157e9
1 changed files with 2 additions and 5 deletions
|
@ -773,11 +773,8 @@ int SimpleCameraData::setupFormats(V4L2SubdeviceFormat *format,
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(SimplePipeline, Debug)
|
LOG(SimplePipeline, Debug)
|
||||||
<< "Link '" << source->entity()->name()
|
<< "Link " << *link << ": configured with format "
|
||||||
<< "':" << source->index()
|
<< *format;
|
||||||
<< " -> '" << sink->entity()->name()
|
|
||||||
<< "':" << sink->index()
|
|
||||||
<< " configured with format " << *format;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue