This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 335e2a5eaabf41a7e49a15ad0d83d42e0ac290c7 Author: Kacper Michajłow <[email protected]> AuthorDate: Sat Oct 24 20:53:19 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Wed Oct 28 19:22:28 2026 +0000 avcodec/libjxlenc: do not pass SMPTE ST 428-1 XYZ as custom primaries libjxl rejects primaries with zero coordinates, which the XYZ basis of H.273 value 10 has, so JxlEncoderSetColorEncoding fails. A JXL color encoding describes an RGB space, XYZ needs an ICC profile. Signed-off-by: Kacper Michajłow <[email protected]> --- libavcodec/libjxlenc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/libjxlenc.c b/libavcodec/libjxlenc.c index 0852ece70e..e5b09c0815 100644 --- a/libavcodec/libjxlenc.c +++ b/libavcodec/libjxlenc.c @@ -229,6 +229,10 @@ static int libjxl_populate_primaries(void *avctx, JxlColorEncoding *jxl_color, e jxl_color->primaries = JXL_PRIMARIES_SRGB; jxl_color->white_point = JXL_WHITE_POINT_D65; return 0; + case AVCOL_PRI_SMPTE428: + av_log(avctx, AV_LOG_ERROR, "SMPTE ST 428-1 XYZ cannot be described by " + "a JXL color encoding, use an ICC profile instead.\n"); + return AVERROR(EINVAL); } desc = av_csp_primaries_desc_from_id(prm); -- 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]
