From patchwork Wed Dec 13 19:30:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 45126 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1225:b0:181:818d:5e7f with SMTP id v37csp4502009pzf; Wed, 13 Dec 2023 11:32:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzaNSNQNM1KYdidWoVzWL1dcDfL2hST4Ce6x8C3AqgZ11AjQL9/7K4c+AboHgHk0ozER6Y X-Received: by 2002:ac2:5fac:0:b0:50b:efe8:f5e8 with SMTP id s12-20020ac25fac000000b0050befe8f5e8mr3670280lfe.88.1702495933969; Wed, 13 Dec 2023 11:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702495933; cv=none; d=google.com; s=arc-20160816; b=h79+MTX2voqZ1ozwOqq7ip3YlV7brgcNl+A4JqU4hm1zYCnW9jBNFFt1YqqoXFjDeJ Y5VZLapYkBwqW1sW+uMJT7EEnuUFMKG6dPDGcpeNDBy9+ptnyEyierzLrRtVW8kuAlYI aW8CtBGPHWYiCOd1ZCVycYLCdd0dThAuJUlMYu91Nu/vcHv9r999ub4rcN2i/4Hp2+do 6GbflhFYgqYeP+p2c83DAsKf7UfYt4RQiyADSiXqynSdmLNvj+vy5T0IuO6O5ZiP0iit TWlt53Sa8dieY9hC4Eo5kOPVzsje9z9H6/4tv13W4GSqaHiDNeLXGLFrC0UctI6ZefsZ 3vIw== 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=yNLf1WYu8c/dEH42O1ALKj+5lX8AYISnzDDWZEkDSjA=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=niquzSRIoOjjMrImsIejtCEGDpBgo0cbtGGE1SWyQdD+qTc7o70x1MY1m2T/yZ/d7c mH95KgHdhsa1q39ez5A3K6qEZYmrnNXOK6r2Ki7402lxlgTG5x5mQ9/Rnmh+nxFjK5fZ y4TnyxHTdChCXpoY+GqM7OEchI+ht9GZtmkkx6fWJipOiGHnSYs2gkGOQBWcOA6ub9kA UWLYa8++n9gEhm7796hm1P06bXCnFTDOLRfxiABvZ1+0TejGtLcvUrRl97DYM1LJlhLs 9il6stU2KX3PHPlHU64EomRIJUhklYik8i3TxqfdbpUDEuiwMp18cwfG05pzkQMPDV+L Zniw== 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 n18-20020a170906119200b00a1f7c52de63si4514636eja.444.2023.12.13.11.32.13; Wed, 13 Dec 2023 11:32:13 -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 790D668D1E8; Wed, 13 Dec 2023 21:30:41 +0200 (EET) 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 474F268D0F5 for ; Wed, 13 Dec 2023 21:30:28 +0200 (EET) Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id C8B311BA2 for ; Wed, 13 Dec 2023 20:30:23 +0100 (CET) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id zIslOSTRlECQ for ; Wed, 13 Dec 2023 20:30:23 +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 mail1.khirnov.net (Postfix) with ESMTPS id 70BCA1BA3 for ; Wed, 13 Dec 2023 20:30:21 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 6ECD93A073A for ; Wed, 13 Dec 2023 20:30:14 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 13 Dec 2023 20:30:04 +0100 Message-ID: <20231213193007.17471-9-anton@khirnov.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213193007.17471-1-anton@khirnov.net> References: <20231213193007.17471-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 09/12] fftools/ffmpeg: drop OutputFile.sq_encode 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: OkTAVgcrASLm It is unused since d119ae2fd82a494d9430ff4d4fc262961a68c598 --- fftools/ffmpeg.h | 2 -- fftools/ffmpeg_mux.c | 1 - 2 files changed, 3 deletions(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 5c061ef0f4..b7ec6085d3 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -607,8 +607,6 @@ typedef struct OutputFile { OutputStream **streams; int nb_streams; - SyncQueue *sq_encode; - int64_t recording_time; ///< desired length of the resulting file in microseconds == AV_TIME_BASE units int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c index 06db55a6d4..383ca4ecef 100644 --- a/fftools/ffmpeg_mux.c +++ b/fftools/ffmpeg_mux.c @@ -777,7 +777,6 @@ void of_free(OutputFile **pof) return; mux = mux_from_of(of); - sq_free(&of->sq_encode); sq_free(&mux->sq_mux); for (int i = 0; i < of->nb_streams; i++)