April 15, 2026
12:51 p.m.
Do you know that it's exactly 2 bytes? Your test proves it's at most 2 bytes, but it could be 1 byte.
Yeah I wanted to test with a 161 pixel width video, but h264 requires the width to be a multiple of 2. Maybe I should try a different codec or maybe raw video? But OTOH how would UV sub-sampling work with an alignment of 1 byte? I feel it would be pretty safe to assume the minimum would be 2 bytes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10654#note_136288