summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamera-utils.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-23 12:33:30 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-24 01:38:25 +0200
commit422e3e92ada16946dd3519f140edf51884bcca32 (patch)
treecf1229f4159179f404b807467fb32fc2011d3ad3 /src/gstreamer/gstlibcamera-utils.cpp
parentc153be4fecbe01364010fe4c6b5ce835e081d1c4 (diff)
cam: main: Cache lookup of role property
The code handling the stream role option retrieves the role property and converts it to a string in every branch. Cache it and use the cached value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/gstreamer/gstlibcamera-utils.cpp')
0 files changed, 0 insertions, 0 deletions