summaryrefslogtreecommitdiff
path: root/src/gstreamer
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-26 15:46:04 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-27 16:06:21 +0300
commit7d1f03e5baaa783eeb0587bbbf319eacc1383ab7 (patch)
tree962d8ef11503954d215b12954d0074727fd5fc6b /src/gstreamer
parentb7ce7e1d342a5f278e6688e23132526f12b728a2 (diff)
libcamera: media_device: Return string references to avoid copies
The MediaDevice::driver(), deviceNode() and model() functions return a const std::string, copying the string stored internally in the class. Return references instead to avoid copies. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/gstreamer')
0 files changed, 0 insertions, 0 deletions