On Fri May 30 07:00:47 2025 +0000, Brendan McGrath wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/8172/diffs?diff_id=181644&start_sha=4b2aae90b10b0ea10c9cd0e7ac84d70c10ccc30e#d2fe6f6c01e7302437c883178ff17ea96268b3ed_2287_2317)
Looks like the decoder MFT will provide these values, but not the Video Processor. It seems to just echo the media type that was passed in with `IMFTransform::SetOutputType`.
So I've changed the fix to calculate and add `MF_MT_DEFAULT_STRIDE` in the call to `IMFTransform::SetOutputType` of the Video Processor. But I also found that when using `MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING`, `MF_MT_DEFAULT_STRIDE` is not present. So I've added some tests for that and reflected that in the fix.
This doesn't seem to fix any of the existing tests, as it mainly seems to help only when `DisableGstByteStreamHandler` is set to `1` (such as with Proton).