diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-20 16:50:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-09 15:47:45 +0200 |
commit | 8e23a62eff08715ce5ec021c7b4de7ad9c716089 (patch) | |
tree | e36e20b4c0e9ae7fc2a6c073e1adced1b33e97ea /fftools/ffmpeg_mux_init.c | |
parent | e1d12aaa453b267011c388f7de8cfb6936d08fec (diff) | |
download | ffmpeg-8e23a62eff08715ce5ec021c7b4de7ad9c716089.tar.gz |
fftools/ffmpeg: drop InputStream.processing_needed
It is equivalent to !InputStream.discard.
Diffstat (limited to 'fftools/ffmpeg_mux_init.c')
-rw-r--r-- | fftools/ffmpeg_mux_init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index bfe2abbe0b..f426db5820 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -2283,7 +2283,6 @@ int of_open(const OptionsContext *o, const char *filename) if (ost->enc_ctx && ost->ist) { InputStream *ist = ost->ist; ist->decoding_needed |= DECODING_FOR_OST; - ist->processing_needed = 1; if (ost->st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO || ost->st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) { @@ -2294,8 +2293,6 @@ int of_open(const OptionsContext *o, const char *filename) exit_program(1); } } - } else if (ost->ist) { - ost->ist->processing_needed = 1; } /* set the filter output constraints */ |