[Bug 297454] multimedia/ffmpeg: Fail to build on current since the introduction to video(4)

[email protected]
Newsgroups gmane.os.freebsd.devel.multimedia
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297454

--- Comment #8 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a8c126b6903e83a10a726019d3d347b20bfc86e3

commit a8c126b6903e83a10a726019d3d347b20bfc86e3
Author:     Abdelkader Boudih <[email protected]>
AuthorDate: 2026-08-12 16:52:04 +0000
Commit:     Adrian Chadd <[email protected]>
CommitDate: 2026-08-12 16:52:12 +0000

    video: add V4L2 compat symbols for ffmpeg/opencv

    Adds v4l2_std_id, struct v4l2_standard/v4l2_plane, VIDIOC_G_STD/S_STD/
    ENUMSTD, V4L2_STD_NTSC*, the MPLANE capability flag, multiplanar types
    (VIDEO_MAX_PLANES, v4l2_plane_pix_format, v4l2_pix_format_mplane,
    V4L2_TYPE_IS_MULTIPLANAR), V4L2_PIX_FMT_JPEG/YUV411P/SN9C10X, and the
    MPEG control class (V4L2_CID_MPEG_BASE, V4L2_CID_MPEG_VIDEO_B_FRAMES).

    video(4) capture devices are digital-only and never expose these, but
    ffmpeg's libavdevice/v4l2.c and opencv's cap_v4l.cpp both reference
    them unconditionally. Fixes their build against sys/videoio.h.

    PR:             297454

    Reviewed by:    manu, adrian
    Differential Revision:  https://reviews.freebsd.org/D58793

 sys/sys/videoio.h | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 101 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.