On Fri Aug 22 13:43:58 2025 +0000, Rémi Bernon wrote:
What are the cases when the stride doesn't match the GStreamer stride already? The output_plane_align parameter was meant to do something similar.
`create_2d_buffer()` in mfplat aligns the pitch to 64 or 128 bytes, while DX buffers have smaller alignments from `mf_get_stride_for_format()` (which probably match GStreamer stride). The simplest way to be sure is query the pitch and use its value.