On 02/10/2016 10:12 AM, Mats Peterson wrote:
The stride will be calculated incorrectly for the attached 3 x 3 pixel
pal8 nut file, since there is some padding in the packet after the video
data and before the palette. It will be properly rounded down to the
real width of the video data for larger sizes, but this one will be 4
instead of 3. I've tried a 1x1 file, but that one wouldn't play at all.
Anyway, run ffplay with "-v debug" to output the packet size and the
stride.

If you have a better solution, feel free to change the stride
calculation code.


Perhaps it's not that bad after all, because before this patch, any odd-width pal8 nut file would be skewed on display. And there aren't too many people who use 3 x 3 pixel videos. But it's a bit irritating nevertheless.

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to