On 03/01/12 15:15, Janne Grunau wrote:
+check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete
+

does this check for a member in an anonymous union ever succeed with
gcc -std=c99 ? if not it is pointless and we should look how we can
make it available for gcc on linux.

gcc-4.6 works as supposed. gcc-4.5 seems to have problems. I hadn't tested clang yet.

the only driver using V4L2_FRMSIZE_TYPE_CONTINUOUS in 3.1 still sets
stepwise.* probably noting to rely on. Any sounds wrong since there
will be a min and max frame size. It's probably fine as is and
V4L2_FRMSIZE_TYPE_CONTINUOUS will be mostly ignored

Ok, I'll fold the two cases, since, all in all CONTINUOUS is stepsize = 1.

lu

--

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to