From patchwork Sat Jul 29 18:40:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "L. E. Segovia" X-Patchwork-Id: 43022 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:7927:b0:130:ccc6:6c4b with SMTP id b39csp1476127pzg; Sat, 29 Jul 2023 11:40:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZvkkpEB5c5d/R+vVEh8xgVKA5CQWKX2gM5wQ1VjLvmrkkXI5Ome6ff+pc0xuJwPj+P5AZ X-Received: by 2002:a19:740a:0:b0:4fb:7592:7e03 with SMTP id v10-20020a19740a000000b004fb75927e03mr3348400lfe.20.1690656038124; Sat, 29 Jul 2023 11:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690656038; cv=none; d=google.com; s=arc-20160816; b=vGOg8qS44H99RXcsxuGlE3/SvWPyZx7O2GXWkdWoCsAmEw/zQ+Q75DXNYGoJZ+ccYk BLmDQifAFuptpzA6/2ENkPf+1ySW9pJ6wL8HkXl3CebDytImogFMZRyG6XhQBq9PPeu2 FW8SOKFwtgC7UwyQgV7lD3bH6d3U8+o/oPX1RoWeZ+KnN1RHyM28ZKRFM+lTHw4cKbI4 Qwa1xyGskLidzfVFUazeFFrF3ySSenreLCWVYgTwH+EJGF9w6XZ6o7FWi6zLqdicfowu e1Q2Q67/8dKBxhCjjIgcmouoCExUHNnibi3maTztvort978VBvbapZI01nYCDFpK0f6l RfSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:content-language:to:from:user-agent:mime-version :date:message-id:dkim-signature:delivered-to; bh=A7+cS2wfGgApD0IZcxjIZI1j0wgkaQ6LjkweweIr4vI=; fh=ESc3qdU44dcJCICb6LyFA8dwP9m5t2kvrhWue0vN394=; b=F5XMieHq99U+CNxYXwNX7xJOfP3Z2R79VCE/PpMaPg2Rwm30BLWaD67tpbaIse0K3k BnM5kVLRuw5cgISAKH4aB/N4Rel9NTaEAoI8QTN0A1p/66YvKPaIiiIbjS+4aHyfm5cE dF1Qgvxpo90yWxYheL7Z33C3Aq8t57T3cXxWVjMyER1ObHIRiH32TE7Z/iXei/42yvhi 5D5vwCnZV9iXtyjb8ijDXgKu6HQHszxuPyKoRMzN4elQcHdvEZyDraN9Ep3+NUdHeVMP eH3h8PiuNAQDeWP8Mdslf6ptPzC2InYzWRxsbKj6qGJ1/AOCV22DhzQAVi5zQF3v2EXc 4weQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@amyspark.me header.s=gm1 header.b=Gk8IGKwR; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amyspark.me Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id k5-20020a05640212c500b00521d2f745adsi970303edx.425.2023.07.29.11.40.37; Sat, 29 Jul 2023 11:40:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@amyspark.me header.s=gm1 header.b=Gk8IGKwR; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amyspark.me Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1ED7468C876; Sat, 29 Jul 2023 21:40:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9A12368C6DE for ; Sat, 29 Jul 2023 21:40:27 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 03186E0002; Sat, 29 Jul 2023 18:40:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amyspark.me; s=gm1; t=1690656027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XxxGqcO2UHckqSK1e1EKKqe413+nVx2KSJY1EqeOLL0=; b=Gk8IGKwRNEACZDXaPtO7haPnqDpxk8dFoA2o+eiFSabkyE61mBSals4nSnuBs7nj22Qlxj nYrFG3YGduW46o+Esg9EpDk2UjaFUH861DLmuT33giYuXpI0n6K0RZqAyzPNThVyJeV31y V31osakBXWC4mAnvwRYKFc4PjjS6mPR6pYWlyDaH7PotczIci378TDklXNZnPwUhsjrpEi St+cJ4s32njtZwvw04x+ovBOv0Bnu5+KD2ncJrbbrM0//Alsu+NIkWl1YuQGTYODiJ5Krh 6ZtOPvydq9b9/8LfKbifVLaz9r8bBwt43LDKixiyvhLju7i1Aa43Vymd+cB6ng== Message-ID: <2ab084b2-7505-414d-9ff4-4315b087b67f@amyspark.me> Date: Sat, 29 Jul 2023 15:40:21 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "L. E. Segovia" To: ffmpeg-devel@ffmpeg.org Content-Language: en-US X-GND-Sasl: amy@amyspark.me Subject: [FFmpeg-devel] [PATCH] avdevice: Fix disabling audiotoolbox_outdev build on iOS 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: V5MVfVuxXbb0 audiotoolbox.m uses CoreAudio APIs that are only available in macOS. The existing CoreAudio framework check is already enough for this case (as CoreAudio.h does not exist for the iDevices), however, it was never passed as a dependency of audiotoolbox_outdev. This caused the build system to include that output device into the targets. Signed-off-by: L. E. Segovia --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h" caca_outdev_deps="libcaca" diff --git a/configure b/configure index 99388e7664..ccb9d7be7a 100755 --- a/configure +++ b/configure @@ -3577,7 +3577,7 @@ alsa_outdev_deps="alsa" avfoundation_indev_deps="avfoundation corevideo coremedia pthreads" avfoundation_indev_suggest="coregraphics applicationservices" avfoundation_indev_extralibs="-framework Foundation" -audiotoolbox_outdev_deps="audiotoolbox pthreads" +audiotoolbox_outdev_deps="audiotoolbox coreaudio pthreads" audiotoolbox_outdev_extralibs="-framework AudioToolbox -framework CoreAudio" bktr_indev_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h