From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 956D44B9BC for ; Tue, 2 Jul 2024 22:30:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AEE7468D95A; Wed, 3 Jul 2024 01:30:20 +0300 (EEST) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B5B4868D837 for ; Wed, 3 Jul 2024 01:30:13 +0300 (EEST) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-57ccd1111aeso2903292a12.0 for ; Tue, 02 Jul 2024 15:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719959413; x=1720564213; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=B1mMi0Gdo1bHatT8aAXcjKq0K2yTv5R7jEoWstuKZ0o=; b=kxGOUCi/PQpZnk8iRt38+DZhDrOM0QaBP5I8/nY7zhxgeVlthThxgY7DVx0YXm44Z9 Ir8tf7OvTHrW5EGLK5M36aoEv9juHmdDbNz/reiNOATzrTH7EtfOF9OKX2mYa+c/RcfQ X+CFRWFaj2duhtndS09f3D+10kjF5kcdpOyJM7u3sCnxOYF0jLnAqYUNFdHcK+FEztDM xaKIBg3iTymPgjyOuS7zs81veM0HpyJYHNHRkuGevlul8C9F1ugKRkKj4HaTyH/8JBFk 9dSK6g9YsWnLAH3OoxyoWEjNBqxuqmjUGkhGlNlb45trSqisg7iAtuDbDehCJhO0uv3k XyJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719959413; x=1720564213; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B1mMi0Gdo1bHatT8aAXcjKq0K2yTv5R7jEoWstuKZ0o=; b=Z459hA88wpqoWFsyJbaZcl/Zarwy1f3kfUJZJkzzlTO29etT8DwB/KvmZvY+1mErbH GkVf7zHvLCN5ykFOtPjC8khfvKP8W5AFfdpZGs76vIWPb5rH+2CLJpTc8z15mRB/nDVo HrfF5S39N57R69Y1OhjG1H9o3HHdV6hZfZVR3LqKmxfHjtiU/Nez1435sLC9FlxmqKkL 75g4qDGDQ/YGx9cADghMM7fsoF0sBMhe+V2xevNae+qHgFz1XvK3VEMPmKMBgA2kX4PC sRfIp/bPE6hgY0/D6rW6iXs7qFiYtIBfp1sZxy9H/IxZnifOfHf5w8JYORoLCMLUmPBt 4OAA== X-Gm-Message-State: AOJu0YwnqMy3QebVz+tx/p7wqDWZq3Suj0VhgPPAfn2hYCTIXx5EA4t2 M0EBg4oiqyV/CcvwbnLR5/S5SBzMQlzbv9w9KwRtUa1lJEC7lD057FGq/VrL X-Google-Smtp-Source: AGHT+IHIv5AbfW0zBdcisK0OS0U9628cWf0ZaoDHelLXAsp5/fTepuRPTy3qCtVg3D9wplVyzW6XEw== X-Received: by 2002:a17:906:1e97:b0:a72:b811:4d43 with SMTP id a640c23a62f3a-a75144bae6amr620809766b.59.1719959412420; Tue, 02 Jul 2024 15:30:12 -0700 (PDT) Received: from diode.fritz.box ([2001:9e8:964:8900:5b5d:79b4:d76c:343a]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72aaf638ddsm457688566b.79.2024.07.02.15.30.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 15:30:11 -0700 (PDT) From: Ramiro Polla To: ffmpeg-devel@ffmpeg.org Date: Wed, 3 Jul 2024 00:30:08 +0200 Message-Id: <20240702223008.388612-1-ramiro.polla@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: restore autodetection of v4l2 and fbdev X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: The detection logic for v4l2 and fbdev was accidentally modified to depend on v4l2-m2m in 43b3412. --- configure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b28221f258..fa2e384350 100755 --- a/configure +++ b/configure @@ -7145,11 +7145,12 @@ pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout xmllint --version > /dev/null 2>&1 && enable xmllint || disable xmllint +check_headers linux/fb.h +check_headers linux/videodev2.h +test_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; vfse.discrete.width = 0;" && enable_sanitized struct_v4l2_frmivalenum_discrete + # check V4L2 codecs available in the API if enabled v4l2_m2m; then - check_headers linux/fb.h - check_headers linux/videodev2.h - test_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; vfse.discrete.width = 0;" && enable_sanitized struct_v4l2_frmivalenum_discrete check_cc v4l2_m2m linux/videodev2.h "int i = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_VIDEO_M2M | V4L2_BUF_FLAG_LAST;" check_cc vc1_v4l2_m2m linux/videodev2.h "int i = V4L2_PIX_FMT_VC1_ANNEX_G;" check_cc mpeg1_v4l2_m2m linux/videodev2.h "int i = V4L2_PIX_FMT_MPEG1;" -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".