diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-03-13 10:27:40 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-13 22:20:56 +0200 |
commit | cd3f70a14c69d2cc86dd483249d1943a80947be1 (patch) | |
tree | 07cfc1bc5025fa9ac6f2f55a10a81875e3ee3886 /test/event-dispatcher.cpp | |
parent | 1be68039247d986ea152cd3a171bc97e7e40866e (diff) |
pipeline: raspberrypi: Avoid multiple opens of Unicam embedded data node
It is possible for the application to call pipeline_handler::configure()
multiple times, which would attempt to open the Unicam embedded data
node on every call. This would cause a warning message as the node
would have already been opened. Avoid this by tracking if the node
has previously been opened.
Note that this is a temporary fix since the open call for the Unicam
embedded data node will be moved from pipeline_handler::configure() to
pipeline_handler::match().
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/event-dispatcher.cpp')
0 files changed, 0 insertions, 0 deletions