aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_mux_init.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-24 10:06:29 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-23 17:15:02 +0200
commit68c198fae2851bc68bb3e600424753d31a9be2ce (patch)
tree96f587aed875b5e30a3c170dbb3b81ccb65d834b /fftools/ffmpeg_mux_init.c
parentaef221b22a7698a667c391e9e1abfcaccaebf015 (diff)
downloadffmpeg-68c198fae2851bc68bb3e600424753d31a9be2ce.tar.gz
fftools/ffmpeg_sched: allow decoders to have multiple outputs
Will be useful for multilayer video.
Diffstat (limited to 'fftools/ffmpeg_mux_init.c')
-rw-r--r--fftools/ffmpeg_mux_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 571c9808b9..db79929aaf 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -1511,7 +1511,7 @@ static int ost_add(Muxer *mux, const OptionsContext *o, enum AVMediaType type,
ms->sch_idx_src = sched_idx;
if (ost->enc) {
- ret = sch_connect(mux->sch, SCH_DEC(sched_idx),
+ ret = sch_connect(mux->sch, SCH_DEC_OUT(sched_idx, 0),
SCH_ENC(ms->sch_idx_enc));
if (ret < 0)
goto fail;