summaryrefslogtreecommitdiff
path: root/utils/hooks/post-commit
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-15 22:58:50 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-22 17:13:31 +0300
commit11298f3d47f6a600c63428d660c00a69c32f4b9f (patch)
treec92d60f3665b67866e1aa89b826a54a29fb6b20a /utils/hooks/post-commit
parent812e5a946fb74609376f2c72972ec8c86a84a19e (diff)
cam: stream_options: Use OptionValue::empty() to test if option is set
The roles() and updateConfiguration() functions check if the OptStream OptionValue they receive is empty by first casting it to an array. To prepare for the toArray() function not allowing such a cast when the option value is empty, test if the option value is empty instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/hooks/post-commit')
0 files changed, 0 insertions, 0 deletions