summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraprovider.cpp
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2021-03-03 15:16:44 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-04 10:39:01 +0200
commit62c456e1cb04fb8df8a236bc69cab3279d9ce7b5 (patch)
treed7b50ea339d99a32339b7d92f7e5cb157239d261 /src/gstreamer/gstlibcameraprovider.cpp
parent5745a109116da7bb435ec77478983d2351fb18f5 (diff)
libcamera: pipeline: simple: Walk the pipeline by following the first link
When walking the pipeline, follow the first link of each source pad. This patch removes a redundant condition for choosing the link: "(link->flags() & MEDIA_LNK_FL_ENABLED) || !(link->flags() & MEDIA_LNK_FL_IMMUTABLE)" since it always returns true. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraprovider.cpp')
0 files changed, 0 insertions, 0 deletions