From: Brendan McGrath <bmcgrath@codeweavers.com> --- dlls/mf/clock.c | 4 +++- dlls/mf/tests/mf.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/mf/clock.c b/dlls/mf/clock.c index 997994fc5f9..c69c9870ad6 100644 --- a/dlls/mf/clock.c +++ b/dlls/mf/clock.c @@ -640,7 +640,9 @@ static HRESULT clock_change_state(struct presentation_clock *clock, enum clock_c LIST_FOR_EACH_ENTRY(sink, &clock->sinks, struct clock_sink, entry) { - clock_notify_async_sink(clock, system_time, param, notification, sink->state_sink); + /* we don't need to notify a sink that is also the time source */ + if (clock->time_source_sink != sink->state_sink) + clock_notify_async_sink(clock, system_time, param, notification, sink->state_sink); } return S_OK; diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c index b921cf7373e..fb3b66d88b1 100644 --- a/dlls/mf/tests/mf.c +++ b/dlls/mf/tests/mf.c @@ -4014,7 +4014,6 @@ static HRESULT WINAPI test_time_source_sink_OnClockStart(IMFClockStateSink *ifac HRESULT hr; hr = (expect_test_time_source_sink_OnClockStart) ? S_OK : E_NOTIMPL; - todo_wine_if(!expect_test_time_source_sink_OnClockStart) CHECK_EXPECT(test_time_source_sink_OnClockStart); return hr; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10095