web/convert: actually use probed known-working codec
This commit is contained in:
parent
3bdf58d203
commit
7f346b0db4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue