Message ID | 20240925132921.11203-7-anton@khirnov.net |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:9548:0:b0:48e:c0f8:d0de with SMTP id t8csp478665vqk; Wed, 25 Sep 2024 06:49:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWELwki4Ra9hQ4rLwW9cEV8eh3FoIRP5N+26jILAPL9C2VWscBJ+7Om7n3YCHvoJGdZi2iX7DmGzg8DGrpA4O01@gmail.com X-Google-Smtp-Source: AGHT+IFcEs0lpq7mzIC6mZ1r53JWUWzLWnRDTSc3AMNC7agszMaTrFqhKWLoNcr1O4BKRbbndFv8 X-Received: by 2002:a17:906:dc8f:b0:a86:83f8:f5a2 with SMTP id a640c23a62f3a-a93a038c991mr258477166b.19.1727272158581; Wed, 25 Sep 2024 06:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727272158; cv=none; d=google.com; s=arc-20240605; b=KftwBz7JZYQuzpHHEs+Pi4olHzeyGH7WiHixZuTpOf8gKN53WZ1Fl9P48yMLHYKhq+ WYNWYiSQPrBWKGOIKsKXm4FPJ6DUouxJqDyEgqnewxW3Lu/BzkxwJ1sjGWzZMt8nnget uW4b4Ef5UJiyLpz4UBNmeit2nFWl1oEQl++X+zTq846fwY92N7lYhdJSyZcKbNZ/Gaf7 lgf3n/LfS1jlhZDLaX0CI2fgGWOUtejFyW79Sw3aCVCKJtLkoGHVIfpPsZGT+bGeE3Li LTwGkFoxSumhRfb6quL93M8nB1AgKpt5y1/SqZHFqXx3dib8zfZcflRwKO6XYNFJVAgR 8rLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=qg53nj1zYh4tqoOKIS6hG9wzwW6HFpfHf+8uwyws1T8=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=L2I+WqgP+gZYxGz9F4TlVjWa0QsTR3oE0wLZOHj6HVi2R6hpEDLnKL33Kl6fR/pAar IQvviIuq7yp+V+O14xjX6BdQb/l14O3yKDdZ5TY0rbpgWY1mN5Rdzk7lM7qhjobL1V4B Mk+nlfM/pjzUMTFBUNOt66eyW2GhPOfvcULoaXmh1W5U+afzMFGAmzFSpDPgbtkE8Xmg FIRdu5waYsBbZlR0Zkwz5co22SaUQZXKESyCVvc4ctJ+SZJoTz+b4dBg4lg5FtXQYpgD bK/YEW1Ra4MhJktWap1rG+FTVhiHDEWTwUhXHqtHNfSgsOpd9JRbi7StDm3E4SqCdfFv CBsg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@khirnov.net header.s=mail header.b=WD3rYcJZ; 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 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a9393115111si249827966b.780.2024.09.25.06.49.18; Wed, 25 Sep 2024 06:49:18 -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=@khirnov.net header.s=mail header.b=WD3rYcJZ; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3A30B68DC17; Wed, 25 Sep 2024 16:29:41 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 495BC68DADA for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Sep 2024 16:29:32 +0300 (EEST) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=WD3rYcJZ; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id 7F42A4E0B for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Sep 2024 15:29:26 +0200 (CEST) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id h-92Gb0GYD-P for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Sep 2024 15:29:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1727270964; bh=zvpo3lb4z4qrjobYt/0tL73AwUXkj5MKYoFPhCa4bYc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WD3rYcJZJ74KUX0WJlnapeg6JtQX6lVmvD1Yz8BB5P4fDWSlzi/yhWH5AvMtlcxse ueQ96AjZiauabiN2VhwfMkChJyG03w8WKnXR3nt2/hM656MU+UoZ9yLUrNxBjcr9Wq 3b5btPXiqWmnTVwumB1q9giRgw8SaU7L1n7JgzzZwDYJMNuOdbYL48nRNER5ODYw7a V5toI4zNgw9EidTsKteq+AOUmwIMb0QVaA+DZee8SF5QIyMIEXpiFFe5gumNd+eSfN v0FmwZ+ymwQH6ViidT81lvDePRjMJ/aV08IheqP5JYco5XMqbTS9LWTa+QOuZ1PIAm lVNWJLfQkHMIQ== Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail1.khirnov.net (Postfix) with ESMTPS id E17564E12 for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Sep 2024 15:29:24 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id CB56D3A164C for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Sep 2024 15:29:24 +0200 (CEST) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Wed, 25 Sep 2024 15:29:18 +0200 Message-ID: <20240925132921.11203-7-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240925132921.11203-1-anton@khirnov.net> References: <20240925132921.11203-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 07/10] doc/examples/transcode: handle audio encoder frame size restrictions X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: 9aBZV4Dvk2N7 |
Series |
[FFmpeg-devel,01/10] fftools/ffmpeg_filter: stop using avfilter_graph_alloc_filter() incorrectly
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/doc/examples/transcode.c b/doc/examples/transcode.c index 54fb315236..1dc1b50502 100644 --- a/doc/examples/transcode.c +++ b/doc/examples/transcode.c @@ -374,6 +374,9 @@ static int init_filter(FilteringContext* fctx, AVCodecContext *dec_ctx, goto end; } + if (enc_ctx->frame_size > 0) + av_buffersink_set_frame_size(buffersink_ctx, enc_ctx->frame_size); + ret = avfilter_init_dict(buffersink_ctx, NULL); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot initialize audio buffer sink\n");