Nikolay Sivov (@nsivov) commented about dlls/evr/tests/evr.c:
ok(diff <= 5, "Unexpected %lu%% diff\n", diff); CoTaskMemFree(data);
- /* Test behaviour when sending ENDSTREAMING message while processing input. */
- hr = MFCreateVideoSampleFromSurface((IUnknown *)surface, &sample);
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- IDirect3DSurface9_Release(surface);
- hr = IMFTransform_ProcessInput(mixer, 0, sample, 0);
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- hr = IMFVideoPresenter_ProcessMessage(presenter, MFVP_MESSAGE_PROCESSINPUTNOTIFY, 0);
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- IMFSample_Release(sample);
- hr = IMFVideoPresenter_ProcessMessage(presenter, MFVP_MESSAGE_ENDSTREAMING, 0); ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
This does hang on my system, but is it reliable or is it depending on calls made close one after another in time?