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;
AVFilterGraph *graph;
int reconfiguration;
// true when the filtergraph contains only meta filters
// that do not modify the frame data
int is_meta;

@ -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) {

Loading…
Cancel
Save