Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 10:35:10 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        multimedia@FreeBSD.org
Subject:   FFMPEG Build (V4L2)
Message-ID:  <53E8803E.5020303@selasky.org>
In-Reply-To: <20140809234842.GA51750@dutch.freebsd.net>
References:  <20140809234842.GA51750@dutch.freebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E8803E.5020303>