diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-10 11:22:40 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-26 18:25:21 +0200 |
commit | 70f7bbeade57ab5c7fa14b2450d46fb3b87466d7 (patch) | |
tree | 8cc9ecdbf290291528d2bb821a24129e2833e843 /fftools/ffmpeg_mux_init.c | |
parent | 78170120ca4a8c11fed2557397b32d68f0901631 (diff) | |
download | ffmpeg-70f7bbeade57ab5c7fa14b2450d46fb3b87466d7.tar.gz |
fftools/ffmpeg_enc: add an AVClass to Encoder
Log decoder messages to the encoder rather than OutputStream.
This is a step towards decoupling encoders from muxers, similarly to
what was previously done to decoders and demuxers.
Diffstat (limited to 'fftools/ffmpeg_mux_init.c')
-rw-r--r-- | fftools/ffmpeg_mux_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 8afb018de8..1b75430e4e 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -1227,7 +1227,7 @@ static int ost_add(Muxer *mux, const OptionsContext *o, enum AVMediaType type, return ret; ms->sch_idx_enc = ret; - ret = enc_alloc(&ost->enc, enc, mux->sch, ms->sch_idx_enc); + ret = enc_alloc(&ost->enc, enc, mux->sch, ms->sch_idx_enc, ost); if (ret < 0) return ret; |