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 0D94A442F6 for ; Mon, 5 Sep 2022 12:32:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0FF0468B8F7; Mon, 5 Sep 2022 15:32:07 +0300 (EEST) Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3C65F68A867 for ; Mon, 5 Sep 2022 15:32:01 +0300 (EEST) Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-11ee4649dfcso21158405fac.1 for ; Mon, 05 Sep 2022 05:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=IxSPyIfTN0UXFnf68y4/DLI7W4JqNV2jTvyGHbASX+Y=; b=ZrOxFiaMhTYn9ml7hgAxKPthznWzZZEhysYBaIH0GxuyXmcr/ikIruTgLhO+riPntX NrYh9rHP3vHKneOYKipn2TRIdkzUNt/gPmanuxP8TK/CcInU7h1OxUkVAhRx6kJ7XdUq DpmH8X4hzjo0UuLSfNGlZtON5+lHUlcE/2kzVBa7TSA64b7r4d0rq6fXIk4wsuCCmoi/ qq+OjbWQRjVQn1mvw0fU7KVq/PUUu00oOH1mAu2ZhSE5sn9NQbvS9HAxXX5xNdZVB8y/ 1vUeJ2J41yGNhuUt/ayRH4QzYLWeU7lVOg0HuuGFbe4NUEXeKfKZ2QznFmKQkiPV/YvY ECHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=IxSPyIfTN0UXFnf68y4/DLI7W4JqNV2jTvyGHbASX+Y=; b=FU9vMEc4XybNAuFgYu7leTf5Y3kEyw6yIEeFgWDGM6Ofcfx3iGwzY8rJ5p9MNqf4a0 NgQhI4l4CcQ9FRzZyqDOITYvYPb9ZtD0nBA8iXKxCjhWd/NCERv1VL78mad6KK5exzhI FRLgeQDrG/LqCH2IOkj/wyosBnbzX6ZzGB2KI0OP+SzyYvjW/NEhU6KtD88ViFPvik95 qg5lsSsdpJ6XhqK+c1H8Sa3UBQvHWDLjPlw6nu8MPZ67egz84AKWK0UeGJK88sTfqsPX h1zFITW7zzUUU6Lw2a+0IDS9pLe8E8iFaRfVewb0DW+rS3zvVXeJoguaMgl2d6el9Nid NWnA== X-Gm-Message-State: ACgBeo1oJ0AyVBWOzoirrVv6aqdCZxpmKBoxKy/xV3r99C7W0rfbnLwf 2E7gFqTKOtowFjDbJi+RU2I4zIT8nJU= X-Google-Smtp-Source: AA6agR4FiXf3/fKMHB8dtHADo8YPO7FDhyzR3+Vq+2UaWp/Alp1fn18e5u0pkFHz66OqH6KCa/vc5Q== X-Received: by 2002:aca:1809:0:b0:345:5649:95a2 with SMTP id h9-20020aca1809000000b00345564995a2mr7201955oih.45.1662381119248; Mon, 05 Sep 2022 05:31:59 -0700 (PDT) Received: from [192.168.0.11] ([191.97.187.183]) by smtp.gmail.com with ESMTPSA id i7-20020a056870890700b0010bf07976c9sm5152842oao.41.2022.09.05.05.31.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 05:31:58 -0700 (PDT) Message-ID: <453a811f-9be5-a785-b3a8-cbf8556b703e@gmail.com> Date: Mon, 5 Sep 2022 09:32:00 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Don't use AVFrame.channel_layout 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 9/4/2022 8:30 PM, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c > index 965f5d0f63..6740339808 100644 > --- a/libavfilter/avfilter.c > +++ b/libavfilter/avfilter.c > @@ -62,7 +62,7 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end) > } > if (ref->nb_samples) { > ff_tlog(ctx, " cl:%"PRId64"d n:%d r:%d", > - ref->channel_layout, > + ref->ch_layout.order == AV_CHANNEL_ORDER_NATIVE ? ref->ch_layout.u.mask : 0, Should be ok, but i expect that eventually filters will support and start propagating custom layouts (after the old API is gone), so maybe using the layout name helpers is a better idea. > ref->nb_samples, > ref->sample_rate); > } _______________________________________________ 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".