Zhiyi Zhang (@zhiyi) commented about dlls/mf/tests/mf.c:
+ ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + + if (event_type == MEStreamSinkPrerolled) + break; + ok(event_type == MEStreamSinkRequestSample, "Unexpected event %lu.\n", event_type); + if (event_type != MEStreamSinkRequestSample) + break; + + hr = IMFVideoSampleAllocator_AllocateSample(allocator, &sample); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + hr = IMFSample_SetSampleTime(sample, 10000000 / 60 * sample_count); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + hr = IMFSample_SetSampleDuration(sample, 10000000 / 60); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + // Note: Native returns E_NOINTERFACE if sample's buffer doesn't implement IMF2DBuffer; + // And E_NOTIMPL if the buffer it's a D3D buffer. But we accept either. We use /* */ to comment in Wine. Also, please change the subject to something like "mf/tests: ..." .
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4545#note_54258