Nikolay Sivov (@nsivov) commented about dlls/mf/tests/mf.c:
- /* clock is unaware of thinning */
- hr = IMFMediaSession_GetClock(session, &clock);
- ok(hr == S_OK, "Failed to get clock, hr %#lx.\n", hr);
- hr = IMFClock_QueryInterface(clock, &IID_IMFRateControl, (void **)&clock_rate_control);
- ok(hr == S_OK, "Failed to get rate control, hr %#lx.\n", hr);
- rate = 0.0f;
- thin = TRUE;
- hr = IMFRateControl_GetRate(clock_rate_control, &thin, &rate);
- ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
- ok(!thin, "Unexpected thin.\n");
- todo_wine
- ok(rate == 5.0f, "Unexpected rate %f.\n", rate);
We don't really need to test this. Existing clock tests already have cases for MF_E_THINNING_UNSUPPORTED.