vdec/jpegxs: warn if height not divisible by 8

seems that the decoder SVT decoder freezes at value (or such as)
This commit is contained in:
Martin Pulec
2026-02-20 12:24:16 +01:00
parent 9ca0cce5f9
commit 76e6131a18

View File

@@ -122,6 +122,13 @@ static int jpegxs_decompress_reconfigure(void *state, struct video_desc desc,
s->bshift = bshift;
s->desc = desc;
if (desc.height % 8 != 0) {
MSG(ERROR,
"SVT-JPEG-XS seems to freeze when the height isn't "
"divisible by 8 (or such internal value)! Please report if "
"you're seeing this message and decode correctly.");
}
if (s->out_codec != VIDEO_CODEC_NONE) {
const struct jpegxs_to_uv_conversion *conv = get_jpegxs_to_uv_conversion(s->out_codec);
if (!conv || !conv->convert) {