camera: find device handling the format by format order

This commit is contained in:
Kamil Trzcinski
2023-02-21 15:33:56 +01:00
parent 0c244a61c8
commit 168181afa5
2 changed files with 22 additions and 11 deletions

View File

@ -13,8 +13,8 @@
static unsigned snapshot_formats[] =
{
V4L2_PIX_FMT_MJPEG,
V4L2_PIX_FMT_JPEG,
V4L2_PIX_FMT_MJPEG,
0
};