fftools/ffmpeg_filter: drop the OutputStream parameter to ofilter_bind_ost()

It is no longer used for anything besides a sanity-checking assert.
Rename the function to ofilter_bind_enc(), as it no longer has any
assumptions about the target being an output stream.
This commit is contained in:
Anton Khirnov 2024-09-12 18:25:36 +02:00
parent addc29f67a
commit 72cd0c20da
3 changed files with 6 additions and 6 deletions

View file

@ -1008,7 +1008,7 @@ ost_bind_filter(const Muxer *mux, MuxStream *ms, OutputFilter *ofilter,
if (ofilter) {
ost->filter = ofilter;
ret = ofilter_bind_ost(ofilter, ost, ms->sch_idx_enc, &opts);
ret = ofilter_bind_enc(ofilter, ms->sch_idx_enc, &opts);
} else {
ret = init_simple_filtergraph(ost->ist, ost, filters,
mux->sch, ms->sch_idx_enc, &opts);