FFMPEG Build (V4L2)

Hans Petter Selasky hps at selasky.org
Mon Aug 11 08:34:49 UTC 2014


Hi,

FFMPEG port does no longer build the V4L2 input device.

Solution:

Revert this:

-check_header linux/fb.h
-check_header linux/videodev.h
-check_header linux/videodev2.h
-check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; 
vfse.discrete.width = 0;" && enable_safe struct_v4l2_frmivalenum_discrete
+#check_header linux/fb.h
+#check_header linux/videodev.h
+#check_header linux/videodev2.h
+#check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; 
vfse.discrete.width = 0;" && enable_safe struct_v4l2_frmivalenum_discrete

  check_header sys/videoio.h


And substitute all occurences of sys_videoio_h with linux_videodev2_h in 
the configure script.

Then it works again.

Anyone care to commit a fix?

--HPS


More information about the freebsd-multimedia mailing list