This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit a71ffc5700d02b37e59506aa91e135c9ac3b1544
Author:     Julius Bairaktaris <[email protected]>
AuthorDate: Sun Sep 13 15:51:36 2026 +0200
Commit:     ArazIusubov <[email protected]>
CommitDate: Wed Sep 16 22:05:28 2026 +0000

    avfilter/vf_vqe_amf: leave the output colorspace untouched
    
    The shared output path retags every frame from the filter's
    color_profile unless that is AMF_VIDEO_CONVERTER_COLOR_PROFILE_UNKNOWN,
    which is -1. vqe_amf never set it, so the zero-initialized field read as
    AMF_VIDEO_CONVERTER_COLOR_PROFILE_601 and every enhanced frame came out
    tagged SMPTE 170M, whatever the input said. The enhancer does no colour
    conversion and has no colour option, so set the profile to unknown at
    init, as frc_amf already does, and the copied colorspace stays.
    
    Tested on Windows 11, RX 9070 XT, driver 32.0.31041.1004: BT.709 input
    through vqe_amf is reported as smpte170m by showinfo before and as bt709
    after.
    
    Assisted-by: Claude Fable 5.1
    Signed-off-by: Julius Bairaktaris <[email protected]>
---
 libavfilter/vf_vqe_amf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_vqe_amf.c b/libavfilter/vf_vqe_amf.c
index d54661fafb..0e5a55ada5 100644
--- a/libavfilter/vf_vqe_amf.c
+++ b/libavfilter/vf_vqe_amf.c
@@ -55,6 +55,7 @@ static int amf_vqe_init(AVFilterContext *avctx) {
     AMFVQEFilterContext *ctx = avctx->priv;
 
     ctx->common.format = AV_PIX_FMT_NONE;
+    ctx->common.color_profile = AMF_VIDEO_CONVERTER_COLOR_PROFILE_UNKNOWN;
     ctx->common.shader_input = 1;
 
     return 0;

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to