aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_mux_init.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-10 11:22:40 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-26 18:25:21 +0200
commit70f7bbeade57ab5c7fa14b2450d46fb3b87466d7 (patch)
tree8cc9ecdbf290291528d2bb821a24129e2833e843 /fftools/ffmpeg_mux_init.c
parent78170120ca4a8c11fed2557397b32d68f0901631 (diff)
downloadffmpeg-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.c2
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;