libcamera: Use C++17 [[fallthrough]] everywhere
Fixes build failure on some build environments. Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e8ae254970
commit
504b643761
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ colorspace_from_colorimetry(const GstVideoColorimetry &colorimetry)
|
|||
case GST_VIDEO_TRANSFER_GAMMA22:
|
||||
case GST_VIDEO_TRANSFER_GAMMA28:
|
||||
GST_WARNING("GAMMA 18, 20, 22, 28 transfer functions not supported");
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case GST_VIDEO_TRANSFER_GAMMA10:
|
||||
colorspace->transferFunction = ColorSpace::TransferFunction::Linear;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue