Nikolay Sivov (@nsivov) commented about dlls/mf/tests/mf.c:
- IMFActivate *sink_activate;
- IMFMediaType *output_type;
- IMFMediaSession *session;
- IMFMediaSource *source;
- IMFTopology *topology;
- PROPVARIANT propvar;
- HRESULT hr;
- hr = MFStartup(MF_VERSION, MFSTARTUP_FULL);
- ok(hr == S_OK, "Failed to start up, hr %#lx.\n", hr);
- if (!(source = create_media_source(L"large.mp4", L"video/mp4")))
- {
win_skip("MP4 media source is not supported, skipping tests.\n");
goto done;
- }
I don't think this test belongs to mf.dll. Streams are accessed from sources, and of course there is no guarantee what source would do, since you can have custom components.
It what way does it depend on reading in specific chunks?