mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user