aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-15 10:47:30 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-24 16:56:06 +0200
commita664ec94e0b9f77a3c9598a7c509d959d4c7fcc9 (patch)
tree947d84b3ac59b9833dc0003fe668a25029f5fd8b
parent87b4453ec6df4de78a9ede6abccdfefe7cfeb66a (diff)
downloadffmpeg-a664ec94e0b9f77a3c9598a7c509d959d4c7fcc9.tar.gz
fftools/ffmpeg_filter: drop write-only FilterGraph.reconfiguration
-rw-r--r--fftools/ffmpeg.h1
-rw-r--r--fftools/ffmpeg_filter.c2
2 files changed, 0 insertions, 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) {