On Thu May 15 10:22:56 2025 +0000, Rémi Bernon wrote:
Okay, it would be nice to add a test with these sizes to mfplat `image_size_tests` tests. Then we should return the same kind of buffers as native, so it would be better to fix GStreamer alignment (by requesting a smaller alignment, if possible, similar to how we request a larger alignment with H264) rather than the other way around. Does this work if you set `output_plane_align = 1` with non-H264 decoders? A test in `mf/tests/transform.c` with such size would be nice too.
Setting `output_plane_align = 1` has no effect on the issue. Calling `gst_video_info_align()` doesn't change the stride; it only sets the padding. The code line I mentioned above is the minimum stride we will get from `gst_video_info_from_caps()`, and I see no way to change the caps to deal with the issue either.