From patchwork Sat Jul 23 14:09:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 36911 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:1649:b0:8b:613a:194d with SMTP id no9csp1047338pzb; Sat, 23 Jul 2022 07:12:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vfEaZp+cUu5yf2H2QduklEwIBfp+YuHXgcsExD4rQhAmlWvz2A/pp7yJORxXIQQ9TSk5Dj X-Received: by 2002:a17:907:6eac:b0:72b:4c75:28fb with SMTP id sh44-20020a1709076eac00b0072b4c7528fbmr3642840ejc.675.1658585530725; Sat, 23 Jul 2022 07:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658585530; cv=none; d=google.com; s=arc-20160816; b=N7U+slcGSCANpMYUM2BJK6euafNVtiWkg+YpY8UqyPt+iCClayHjX54n+aCmrQJNYf jLga3lwSXHqyHes2X6gZM4GZLeAzVOmsqjCXEUF0VPYhqeyn8eShWTcMawK1MGvqkfym DRr1jOd7ihUABvg+JcCg3yJfw8F2bO2KufBfcfTLpULvuzQLyPbTN+mr8m6K8LX0X8Nd Q6m4PbANHw5IwyuX2sFHJ6zGZykWFjXLfElqiK5pZe7nulU+yTKo4WmlIEav9GCWmJLN C59NRqXzYfQABNQpW0RZ+CwsvySJGF2ObS8uR3IrG+vDsAGaNBMnezaaQII7W9lHcn9Z FRPw== 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:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=1ZntLn0YTG6C+qNwPt2UC12MDJjBPG2Ge6MXG/adMYM=; b=ytcdar5MVSZ53SF/8kzP+BxeZ6ycaMhbRJPj3OnfhltRFvQofwdHSvh9wlR4b9kVG5 jVSYLsiZVbNmCSP7xWye82l79iHsjC3z/qsQ2nqMOIjEnmR+kMSTItyWRwMfNGezxZpp v2Sq4ZCq78THHfKotm9olXFlPAUY51lvnB2A19ZUDTsraTNoyzoEjm05u6qB8tAU2Mhu DyvffWRAcAPMbwRr8G64ChTmtyhhkd/udQk4rjNggI8A7scvP5whfdR5HcC6dk2DKPUV lwVuA6LLPXQsxqbhDvFoGxkBySYeKCsQFs2wPbvWITCqWH7oD/WGmbh+8UH3ytV2G2Ta 3/SQ== ARC-Authentication-Results: i=1; mx.google.com; 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: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id t18-20020a1709067c1200b0072eece129b1si7071147ejo.753.2022.07.23.07.12.10; Sat, 23 Jul 2022 07:12:10 -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; 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 249CC68B8A9; Sat, 23 Jul 2022 17:10:39 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8588668B7D1 for ; Sat, 23 Jul 2022 17:10:28 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id CAAC6240592 for ; Sat, 23 Jul 2022 16:10:26 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id yvHbBXGPP49I for ; Sat, 23 Jul 2022 16:10:26 +0200 (CEST) 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 mail0.khirnov.net (Postfix) with ESMTPS id BEE52240688 for ; Sat, 23 Jul 2022 16:10:19 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id 914DA3A04AB; Sat, 23 Jul 2022 16:10:19 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 23 Jul 2022 16:09:40 +0200 Message-Id: <20220723140952.31814-15-anton@khirnov.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220723140952.31814-1-anton@khirnov.net> References: <20220723140952.31814-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 15/27] fftools/ffmpeg_filter: drop a block commented out since 2012 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: ndwS4uheO9r2 Since the option it relates to is deprecated, it is highly unlikely to become useful. --- fftools/ffmpeg_filter.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 5d00bfe056..f9ae76f76d 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -902,19 +902,6 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter, AUTO_INSERT_FILTER_INPUT("-async", "aresample", args); } -// if (ost->audio_channels_mapped) { -// int i; -// AVBPrint pan_buf; -// av_bprint_init(&pan_buf, 256, 8192); -// av_bprintf(&pan_buf, "0x%"PRIx64, -// av_get_default_channel_layout(ost->audio_channels_mapped)); -// for (i = 0; i < ost->audio_channels_mapped; i++) -// if (ost->audio_channels_map[i] != -1) -// av_bprintf(&pan_buf, ":c%d=c%d", i, ost->audio_channels_map[i]); -// AUTO_INSERT_FILTER_INPUT("-map_channel", "pan", pan_buf.str); -// av_bprint_finalize(&pan_buf, NULL); -// } - snprintf(name, sizeof(name), "trim for input stream %d:%d", ist->file_index, ist->st->index); if (copy_ts) {