Le tridi 13 floréal, an CCXXV, Carl Eugen Hoyos a écrit : > Attached patch allows reading the aspect ratio from jpeg2000 files. > Kakadu allows to produce samples, the "aspect" is defined as the > horizontal and vertical resolution as in tiff.
Did you test what happens with this patch if you try to read two frames with the same context (for example with the image2 demuxer), the first frame has a non-square-pixels resolution defined and the second has no resolution indication at all? The correct result would be to have a sample aspect ratio on the first frame and not on the second. But with this code, since the first resolution is stored in the context and never cleared, it looks like it will be kept for the remaining images. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel