On 2012-01-05 20:27:08 +0100, Janne Grunau wrote: > On 2012-01-05 21:45:41 +0400, Michael Kostylev wrote: > > > > > @@ -2996,6 +2996,9 @@ check_header linux/videodev.h > > > check_header linux/videodev2.h > > > check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete > > > > > > +check_header sys/videodev2.h > > > +check_struct sys/videodev2.h "struct v4l2_frmivalenum" discrete > > > + > > > > Frame rate/size enumerations are unsupported, at least ATM. > > sure but if I don't add that check now, we'll forget to add it when > they become available.
actually it is a bad idea since it disables it also on linux. changed that hunk to the ugly @@ -2996,6 +2997,9 @@ check_header linux/videodev.h check_header linux/videodev2.h check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete +check_header sys/videodev2.h +enabled sys_videodev2_h && check_struct sys/videodev2.h "struct v4l2_frmivalenum" discrete + check_header sys/videoio.h check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs" Janne _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel