From patchwork Mon Nov 15 15:24:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 31427 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp5991477iob; Mon, 15 Nov 2021 07:25:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzE5PMED1CA3zWplNe0QEPoKsvuHg8OYRQU539r6sL9+f2s4fNgROZfCCAETF8zhVl4CJPm X-Received: by 2002:a17:907:1c1f:: with SMTP id nc31mr50651579ejc.210.1636989906839; Mon, 15 Nov 2021 07:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636989906; cv=none; d=google.com; s=arc-20160816; b=mF7Bvm2a+4kPRuv3pQdCQg4d4kRq4NWmvwkB7TjK8Vf8Z9HPsq3WC94puFW+VwcLES e2ELgO1sdlEGb8ZBx3kOlkmXaP7eyNM5fSTF/lxN1kYaIkMR8MTteod2TtUIF7GNGdoS fBLFfAV4srHsRYalln6PihupOb4V0wHnnRztIZFXoW3ch8XDrhd1q9H7HTLbccWaHoHf s13PCWv3uzO0Fvni5rMfpKPsuXNTSadBJmgBwy9/uWmws+h9GRibLhe2u9AGOFpJQVlc HQnsd3F96RzzFNmQrRgC+QyGMmlb8QXGQPPP6Y7zkhSAIc24pjMwnESye/v0UvHkThGE camw== 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=VnUngKuoAAJ4nwyMNl44uDz0Cv5bLg9jBn3ge0apVZ4=; b=1KJSb3BeNEEr88tTtUwjUEI0E1SiXjCgU5M04F8jLdrjjNhVS/0vCdC+VdesH1vcWG LvHqfHT71a7HAWMEJMCjBlagn24tC9qy4Fq7EnO2q7kYdsh31yvzIROcjLCxGaoRPkQL 6FumYk4kfUIY0cGWaWzkNnG89sEGdnKS3xlv+8wtJpCp4onR1suFMEgf0GhPe4t6IenB YzOBilG3ETHAlXosjX57g+GJ3csL4ZJSXm7XUmjwj/ERpEBB9liWJvxJ3+QYCr24X3xY deT0CX3y5IrS6Lm8YgoNp0I5SZ8ZHDU7Iui7Fkrvj4PFscYo/kCeVXyCEEcEYiiw6pz5 en7Q== 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 n26si25841203ejc.229.2021.11.15.07.25.06; Mon, 15 Nov 2021 07:25:06 -0800 (PST) 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 403CD68AE74; Mon, 15 Nov 2021 17:24:20 +0200 (EET) 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 ADF2768AE3F for ; Mon, 15 Nov 2021 17:24:11 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 42C88240177 for ; Mon, 15 Nov 2021 16:24:11 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id P-6FYt-ZSt2w for ; Mon, 15 Nov 2021 16:24:10 +0100 (CET) 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 BD7FE24017C for ; Mon, 15 Nov 2021 16:24:07 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id 857EB3A09CE; Mon, 15 Nov 2021 16:24:07 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Mon, 15 Nov 2021 16:24:00 +0100 Message-Id: <20211115152400.5522-9-anton@khirnov.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211115152400.5522-1-anton@khirnov.net> References: <20211115152400.5522-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 9/9] ffmpeg: drop obsolete rotation API remnants 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: gft95XD7ZLV0 No demuxers export the "rotate" metadata tag anymore. --- fftools/ffmpeg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index c0ab78608a..d1904c20d4 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3361,11 +3361,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame) set_encoder_id(output_files[ost->file_index], ost); - // Muxers use AV_PKT_DATA_DISPLAYMATRIX to signal rotation. On the other - // hand, the legacy API makes demuxers set "rotate" metadata entries, - // which have to be filtered out to prevent leaking them to output files. - av_dict_set(&ost->st->metadata, "rotate", NULL, 0); - if (ist) { dec_ctx = ist->dec_ctx; }