Re: [PATCH v3 0/1] MR3319: evr: Leave critical section before waiting for streaming thread.
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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3319#note_40347
participants (1)
-
Nikolay Sivov (@nsivov)