From patchwork Wed Apr 19 19:52:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 41256 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4645:b0:e3:3194:9d20 with SMTP id eb5csp743658pzb; Wed, 19 Apr 2023 12:53:23 -0700 (PDT) X-Google-Smtp-Source: AKy350YpL1BZoizeKoouKrED4hQ1rnlMcIy/5S4UDfhWC9zN2KRu4+MvhYuDlbEDn/xRxthhDsG5 X-Received: by 2002:aa7:c916:0:b0:506:8d35:40b7 with SMTP id b22-20020aa7c916000000b005068d3540b7mr7077789edt.8.1681934003047; Wed, 19 Apr 2023 12:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681934003; cv=none; d=google.com; s=arc-20160816; b=g11mN8t/2fI/8xx4qNL/gVUViMd7IPcEvxZUdtYke75rk93qkr4JMsjtchUx/87Xqc MYA8cGzHyhBblbSUqwsqWkNGUsj/CY8gI02LYNtrVy1S4HUHdCj0C5umzpjxFRTnOqqD 4n5KBII+HcsQRG3IUn0fOmVwLletpUnYeuF1J2hM/EBrGRFafHNaxXs5Lgc5DOEts7GN deoEKQsdOc1B6/bLTByI0OjeU5DMJ89Ciao3d2TNAB3uVdhW2nruB7/UuW/Td8NXaf3n q6d6RdMaPwQ1auVEB0aXWCmk0F+NlcB8nIoOXhiNtDU0jOx+IH0rgTbA+q+IX4pXvv3W uB3w== 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:message-id:date:to:from :delivered-to; bh=aejQHnXo/5zIEyfCisASO0GxDCA3bZt7IyTZznG9GGg=; b=QvzCvPEo2+xPN4w/E/bhXC8pJBVdM6DFPBnfshps8EXHdxjR2grTcaPlFKHolBxJZU Nzs3LDF9BOrdl64d0nC+HCkcGMineGupUZpuurExKuvQQOkdaz+m0epaIsT+Cu4wvzyj b/pbgsrSTCxgXgrNcxzrVz/72yvYCEZeLk6Zk35/G4UObwfAOiqseEhT0xE5CjFLEURr jtRNB+oWkRPgezSxGWFXWycEnjCKmP9Z7X+dv9LONiOL7Di8vc424w5WkZH6WQDxEsUX peCd7tqQtrmloR5UyXwJddE+/k7diOS4mUotUAH6GlA/FKcT9OmYlyyKYvozB+mSHauF Zlew== 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 l11-20020aa7c3cb000000b00506a3c698dbsi8379040edr.376.2023.04.19.12.53.22; Wed, 19 Apr 2023 12:53:23 -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 15D8E68BEB6; Wed, 19 Apr 2023 22:53:07 +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 EAC1C68BE76 for ; Wed, 19 Apr 2023 22:52:57 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 9A6D82404F5 for ; Wed, 19 Apr 2023 21:52:57 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id nRWMZpfsO2NB for ; Wed, 19 Apr 2023 21:52:55 +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 C6FFF2404EC for ; Wed, 19 Apr 2023 21:52:55 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 5241C3A037D for ; Wed, 19 Apr 2023 21:52:55 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 19 Apr 2023 21:52:19 +0200 Message-Id: <20230419195243.2974-1-anton@khirnov.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 01/25] fftools/ffmpeg_filter: drop write-only FilterGraph.reconfiguration 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: gWCFgU5eYINV --- fftools/ffmpeg.h | 1 - fftools/ffmpeg_filter.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index a9302a95f0..72020c8f3a 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -325,7 +325,6 @@ typedef struct FilterGraph { const char *graph_desc; AVFilterGraph *graph; - int reconfiguration; // true when the filtergraph contains only meta filters // that do not modify the frame data int is_meta; diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 1d88d2e3b1..52a5d19351 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1239,8 +1239,6 @@ int configure_filtergraph(FilterGraph *fg) goto fail; } - fg->reconfiguration = 1; - for (i = 0; i < fg->nb_inputs; i++) { AVFrame *tmp; while (av_fifo_read(fg->inputs[i]->frame_queue, &tmp, 1) >= 0) {