fftools/ffmpeg_filter: drop write-only FilterGraph.reconfiguration

pull/389/head
Anton Khirnov 2 years ago
parent 87b4453ec6
commit a664ec94e0
  1. 1
      fftools/ffmpeg.h
  2. 2
      fftools/ffmpeg_filter.c

@ -325,7 +325,6 @@ typedef struct FilterGraph {
const char *graph_desc; const char *graph_desc;
AVFilterGraph *graph; AVFilterGraph *graph;
int reconfiguration;
// true when the filtergraph contains only meta filters // true when the filtergraph contains only meta filters
// that do not modify the frame data // that do not modify the frame data
int is_meta; int is_meta;

@ -1239,8 +1239,6 @@ int configure_filtergraph(FilterGraph *fg)
goto fail; goto fail;
} }
fg->reconfiguration = 1;
for (i = 0; i < fg->nb_inputs; i++) { for (i = 0; i < fg->nb_inputs; i++) {
AVFrame *tmp; AVFrame *tmp;
while (av_fifo_read(fg->inputs[i]->frame_queue, &tmp, 1) >= 0) { while (av_fifo_read(fg->inputs[i]->frame_queue, &tmp, 1) >= 0) {

Loading…
Cancel
Save