diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2024-06-24 19:18:56 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2024-07-03 10:36:55 +0530 |
commit | 67b24d2c4e7853e16ac427059fa7666b8fd23c19 (patch) | |
tree | a1847568f02a2ae9fcd4bf31906a8ab84468fd42 /include | |
parent | e3310749f5abb8003c85f7bdf01ce14b9e4b1fab (diff) |
converter: converter_v4l2_m2m: Rectify streams sanity check
The streams sanity check tries to determine if all the stream indexes
passed in outputs std::map<> are unique. However, since the data
container is std::map<>, all its keys (stream indexes in this case),
are already unique.
Instead, rectify the sanity check to ensure all the framebuffers passed
in the outputs std::map<> are unique to each index. Hence, no two stream
indexes should have same framebuffer. Update the comment to reflect
the change.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions