Files
FFmpeg/doc
Jun Zhao c29206e456 doc/examples/transcode: query encoder for supported configs
avcodec_get_supported_config() is called with dec_ctx (the decoder
context) to query supported pixel formats and sample formats, but
the intent is to configure the encoder. The decoder supported
format list may differ from the encoder, leading to format
negotiation failures or incorrect output.

Pass enc_ctx instead so the actual encoder capabilities are
queried.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2026-03-18 02:08:09 +00:00
..
2023-03-01 21:59:10 +01:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-10-25 13:21:50 +00:00
2024-03-18 17:59:19 +01:00
2025-08-03 13:48:47 +02:00
2019-02-10 16:46:56 +01:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2021-06-18 18:58:25 +02:00