fftools/ffmpeg: drop InputStream.processing_needed

It is equivalent to !InputStream.discard.
This commit is contained in:
Anton Khirnov
2023-03-20 16:50:19 +01:00
parent e1d12aaa45
commit 8e23a62eff
4 changed files with 2 additions and 7 deletions

View File

@@ -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 */