iori87/helloworld — comment on commit 803244c2822d0d68887781d7bc089c36794c6207
File: exercise2/main2.c line 75
By lu-zero:

You forgot to check flags ^^;

V4L2_FMT_FLAG_COMPRESSED	0x0001	This is a compressed format.
V4L2_FMT_FLAG_EMULATED	0x0002	This format is not native to the device but emulated through software (usually libv4l2), where possible try to use a native format instead for better performance.