From patchwork Fri May 21 08:39:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 27852 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:b214:0:0:0:0:0 with SMTP id b20csp333498iof; Fri, 21 May 2021 02:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCM7DlKy1JEJVZJjps1EJHTxL1+q43acOn6gmTSirC6yFhiq+i71Qr+P5LwNZKAcqP9kqP X-Received: by 2002:a17:906:2dd3:: with SMTP id h19mr9196013eji.520.1621588108980; Fri, 21 May 2021 02:08:28 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id d20si4709663edz.96.2021.05.21.02.08.28; Fri, 21 May 2021 02:08:28 -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=@outlook.com header.s=selector1 header.b=TAjafD3r; arc=fail (body hash mismatch); 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=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DE57E680B74; Fri, 21 May 2021 12:08:23 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2071.outbound.protection.outlook.com [40.92.89.71]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 44958680B74 for ; Fri, 21 May 2021 12:08:17 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mZ7awDZmAvAkOsJd6JoTz479BXsSyZqdPTjVqy+IzsWdQSo8UB7ujWZnkjbsQrhe3mTnknFVb/wr+fUtmDBD699+p3UjLdDMyO+71dfLX7FOgCGSn6Uww0Zb5XS6hPewfEkKaSxWKPaWJwRaJCD2fJfEgQs+dDCEkSS/eMmfyAT7m0evSbe+MQ1mLlRVwwqdqn+t1MdQ0DOGEzSPd2eeLaagAajrrl4Me4eRl0soVXsDz9xPi6eK+ub1F3JO11OMHirfEZIC2ZTp2LMlp+PaLSo4zC/L7MRUJ8gRwCOGamEMU14hn1wmNBNbaPIi3OCoEmoDAmOqcmHjhOpRhGLehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FPAgPEqnA1KBYGTYOLnr4ixXfBJTbWUNiO+nYd4KfiA=; b=CDxtrC7tvg8PkxKzb1cSqAC19NZfWlplkG9b/W3PA329slFZ4qzrbhdur+2lsRx7aa8jP812w5pHI66kVlpa8IH87oOF7oXvViPesS8g/hmxNARoUWoM6vgPBImhTknTE5DLNXVFZYSwhoMSd3FA/jDPWgetLIYuh5yBWUDY8HL0AZ2YvoAIh04aZPe9bW0k5Gal2fYBWtysQEmDdCfBvaf9dm3Ee3xBXDhulAVfNq2aQaSwNIsgjZcoahCkQ60plDeemp2S5HumqotXB3plCl2C5uAhXqoi6aLt0r7SwB5Fh+x74i8CibLoXOjre0laERl1iufUopYOHlZj3oLK8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FPAgPEqnA1KBYGTYOLnr4ixXfBJTbWUNiO+nYd4KfiA=; b=TAjafD3r0aJB2yUhSRMyL5oZhKhM/lRrWu0F+BwmHy1gttD87n5Bame26Zzh16/TQcBctjsQ+zzi4wnTLnTqaNHcv1KrYd2nIAzBUZhOlWNefNHesHBNSjJk8HycdxfiOIwtJY7t5YvknwZanDK7Vcwjcuk6iUmi7TBrPX0PfsktryT3JpQ5Th7zAhbLvf6GWLHw1YCg/ewvnkVMU75acUty+cnNxRRI8ZyXCPf6SmT5xQbECe4WnWFwTauXGhHYOiJodfxkbQXuothJtCs0wLn5IsWJra9zV8/Ay7vsVyrFyQWPA8W+a1Cypzc1/D6paHvVQsvFC5ZeJkitaQEgSA== Received: from VI1EUR05FT020.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::4b) by VI1EUR05HT147.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::313) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25; Fri, 21 May 2021 08:53:26 +0000 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com (2a01:111:e400:fc12::51) by VI1EUR05FT020.mail.protection.outlook.com (2a01:111:e400:fc12::192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Fri, 21 May 2021 08:53:26 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FBF3B1F71A19C0290B363F1EC58023539D955CCD4BE037D30CA9F3C95ECD521B; UpperCasedChecksum:86868634B9887245A73D1DD2EBA339B64A41CED54731242450CF6B1E376A0E29; SizeAsReceived:7383; Count:46 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::f4cc:63fc:9cef:37fb]) by HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::f4cc:63fc:9cef:37fb%6]) with mapi id 15.20.4150.025; Fri, 21 May 2021 08:53:26 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 21 May 2021 10:39:03 +0200 Message-ID: X-Mailer: git-send-email 2.27.0 X-TMN: [YKDysZqQd/Ffc3Lu8aVBguvVKaeHCJBC] X-ClientProxiedBy: FR3P281CA0019.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::6) To HE1PR0301MB2154.eurprd03.prod.outlook.com (2603:10a6:3:2a::22) X-Microsoft-Original-Message-ID: <20210521083942.130476-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.95.27) by FR3P281CA0019.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.11 via Frontend Transport; Fri, 21 May 2021 08:53:25 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 725e2f97-6829-4199-1c45-08d91c35e54f X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiSiYaxVAPXjtBLAGaAm06UesH+Ze8RwlVnqc8I6hg+2lvBJXYAWPmYyGCPGGR1OyvvCTcyW5zgCAHexl+740Yz7KKhCz2A+Flo9heaaJOXc4G6HK3tFZhwgKc99vD4OP5OxjgMHjfY48ZnBm3tS8qjdipDDHjGIeRFAPxSr/A6tjQBsyjErOzLbWRLYhgoQqqleERh2a2PTV7oLK2x6A1hf+56BAzfUhV7EaXXzvEvwyAd13tEC60hcfnEi9N1OMXda0cRP6l3L56v1a52I6E6sUa5B4roRu3ekb4bX5Vb1JQkXXQOSxkTD/KFIiIRcWsNW9xkPUBftdyGLw9HXfKkMsAEJg9Braqo4Y6Cix8FbuAbs8j+mxqgOpzqqK22o2t1lk5+3j/jxG5/31arUXPFPfbrikYW7XTR1e5HTr34S2U3PuQO8dXdCxDC+pmh8tu5EVfpYkfMTxN92mpHJlonDkPvzU+tUi127Wze2eNVStXEzqR2yVvn++ZjFMewtfcPWmMkf1Kj2xCuyXj9mkuJ91PfAYBSrn1+t5HN93GIqdfbSKN7b5vExNr8JlTgUULVvT2aN/fEeQd36PbaVUp7tqOSt4lsCvJ1L+SgSil7obO8g1H9d9os/jux4jxHPhkXSj+nDFYwjEnlP4miOFjdjhhBCMI75RcczAwAbCnApw9OdkkpNnFmQVAAN7Eu5vkdTk9jLcxaAjCvHIhStxyvBBE9IbivPr3Jr8lUIOWM2YfFYsXD6Sx36gs2CcpnLmSs= X-MS-TrafficTypeDiagnostic: VI1EUR05HT147: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4mXsyzc9oRL2J69huwf+siAqF0hj1WqmMb+GDw3U8eQHJIcwh2DnKclPMogqTphO5C4N/dgfdNL+l1nH+bdE9TlOxE9Smp7cTZQWFT28Qm8SiL/aQcfXJ+LFS/zgJh3IaKrXkJpLTKyaJy0N8BPSO/mHDQq9fwCwufh4yKodZ1gNuAoyAPDYo8q7z0N3Wf0wY42tP9pQ4eseNl7KR7Uh+AJn2ZH+ykJtlEsfOyENg+USDPzsGb7um3WSYZ3SuackzMAnJy/6uAqZzUzfVQlwlboUVEOs4niOHTIysAarrmJG9lU2l9AEqfObS48+YSqxdGocxPu8lCqD1jL2u76NzuDB1Rn2DEcIm0QRhRu/XZTCuDewQKSDLEpG/eOaRndX0I3JB5nNeBVDyKbK5OlJ8w== X-MS-Exchange-AntiSpam-MessageData: 9ulWQ/Xf5YDKYpJBEIyPi21CnU3teoQd7Bcd8FflZtYGOJoKKAgGSmiIFnoZ7E9+ZoYHncv1P0qfUFU9U8i3BBfTawuEFDpWWJKi0KvDmbFXo7hlWBLyimRbgqkWokSd36dE1XS9ri9HHTvzDm/PHA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 725e2f97-6829-4199-1c45-08d91c35e54f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2021 08:53:26.0255 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT020.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT147 Subject: [FFmpeg-devel] [PATCH 01/39] avcodec/audiotoolboxenc: Remove AV_CODEC_CAP_DR1 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ARfgFlMW0cxe It has been added in 2016 when this flag made no sense for encoders at all; now that it makes sense, audiotoolboxenc doesn't support it, despite claiming to do so. Signed-off-by: Andreas Rheinhardt --- Will backport this to 4.4 as AV_CODEC_CAP_DR1 was already well-defined for this release. libavcodec/audiotoolboxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c index e3d056a79d..e0e00ba2b0 100644 --- a/libavcodec/audiotoolboxenc.c +++ b/libavcodec/audiotoolboxenc.c @@ -627,7 +627,7 @@ static const AVOption options[] = { .encode2 = ffat_encode, \ .flush = ffat_encode_flush, \ .priv_class = &ffat_##NAME##_enc_class, \ - .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | \ + .capabilities = AV_CODEC_CAP_DELAY | \ AV_CODEC_CAP_ENCODER_FLUSH __VA_ARGS__, \ .sample_fmts = (const enum AVSampleFormat[]) { \ AV_SAMPLE_FMT_S16, \