Windows uses a smaller alignment than gstreamer for some formats, for
example NV12. This means we cannot use MFCalculateImageSize() to get the
output sample size. Commit 7b79e3a87b1e switched to calling it instead of
GetOutputStreamInfo() to fix some game bugs.
--
v8: winegstreamer: Do not pass a sample size to wg_transform_read_mf().
mf/tests: Add a video processor NV12 test with a width alignment of 2.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8034
On Tue Aug 5 06:46:28 2025 +0000, Elizabeth Figura wrote:
> Thanks for catching this! We should also invalidate the other bits. In
> fact, the easiest thing would be to call
> wined3d_stateblock_set_transform() from wined3d_stateblock_multiply_transform().
Thank you for the review and guidance! I am excited to help out.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8709#note_112117
On Windows, if wglChoosePixelFormat specifies cAccumBits, the best matching
PIXELFORMATDESCRIPTOR obtained should contain AccumBits information.
Some industrial software, such as CAD applications, require matching
the AccumBits information.


Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8710