PR #21376 opened by Anton Kesy (antonkesy) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21376 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21376.patch
Adds missing log of struct mfxInfoMFX member: codec level. >From e931cae425f9e87fa1573928f563611151dd81d0 Mon Sep 17 00:00:00 2001 From: Anton Kesy <[email protected]> Date: Mon, 5 Jan 2026 02:48:24 +0100 Subject: [PATCH] avcodec/qsvenc: add unsupported codec level log Adds missing log of struct mfxInfoMFX member: codec level. Signed-off-by: Anton Kesy <[email protected]> --- libavcodec/qsvenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index fc1b8795d8..db16aa80de 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -683,6 +683,8 @@ static int check_enc_param(AVCodecContext *avctx, QSVEncContext *q) av_log(avctx, AV_LOG_ERROR, "Selected ratecontrol mode is unsupported\n"); if (UNMATCH(LowPower)) av_log(avctx, AV_LOG_ERROR, "Low power mode is unsupported\n"); + if (UNMATCH(CodecLevel)) + av_log(avctx, AV_LOG_ERROR, "Current codec level is unsupported\n"); if (UNMATCH(FrameInfo.FrameRateExtN) || UNMATCH(FrameInfo.FrameRateExtD)) av_log(avctx, AV_LOG_ERROR, "Current frame rate is unsupported\n"); if (UNMATCH(FrameInfo.PicStruct)) -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
