summaryrefslogtreecommitdiff
path: root/test/object-invoke.cpp
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2022-06-30 12:04:43 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2022-07-19 21:50:21 +0530
commit62e32042aee4042b6a931bc27a6ad11384b521f5 (patch)
treea8ce86f8633ea437f28a6f99091b8aa131b8270c /test/object-invoke.cpp
parent9eb8211160de2e0a879cc5e0b38f50137df989ce (diff)
gstreamer: Be pedantic on srcpads access
Use the std::vector::back() instead of [0] index which corresponds to std::vector::push_back() for tracking of pads. This doesn't introduce a functional change as the gst_libcamera_src_init() will only add one pad but it helps with readability. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/object-invoke.cpp')
0 files changed, 0 insertions, 0 deletions