web/convert: actually use probed known-working codec

This commit is contained in:
dumbmoron 2024-08-27 09:29:45 +00:00
parent 3bdf58d203
commit 7f346b0db4
No known key found for this signature in database

View file

@ -34,6 +34,7 @@
...decoderConfig, ...decoderConfig,
width: 'codedWidth' in decoderConfig ? decoderConfig.codedWidth : undefined, width: 'codedWidth' in decoderConfig ? decoderConfig.codedWidth : undefined,
height: 'codedHeight' in decoderConfig ? decoderConfig.codedHeight : undefined, height: 'codedHeight' in decoderConfig ? decoderConfig.codedHeight : undefined,
codec: maybe_codec.codec
}; };
await ff.configureEncoder(+stream_index, config); await ff.configureEncoder(+stream_index, config);