aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-11 13:05:46 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-17 12:01:40 +0200
commitff92ecad2fca6143637538fb7ab3423205ebb4a7 (patch)
tree046ae2022d3c1588e22d7ea1e85365eb32f62f1b /fftools/ffmpeg.h
parentae071c9e3944ebe12e4088c81992f31d974ea904 (diff)
downloadffmpeg-ff92ecad2fca6143637538fb7ab3423205ebb4a7.tar.gz
fftools/ffmpeg: stop setting InputStream fields from muxing/filtering code
Set InputStream.decoding_needed/discard/etc. only from ist_{filter,output},add() functions. Reduces the knowledge of InputStream internals in muxing/filtering code.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index d25377514e..c73fc8a459 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -880,7 +880,7 @@ void ifile_close(InputFile **f);
int ifile_get_packet(InputFile *f, AVPacket **pkt);
void ist_output_add(InputStream *ist, OutputStream *ost);
-void ist_filter_add(InputStream *ist, InputFilter *ifilter);
+void ist_filter_add(InputStream *ist, InputFilter *ifilter, int is_simple);
/* iterate over all input streams in all input files;
* pass NULL to start iteration */