Nikolay Sivov (@nsivov) commented about dlls/mf/sar.c:
TRACE("%p, %lu, %p.\n", iface, index, media_type);
- if (index == 0)
- {
*media_type = renderer->media_type;
IMFMediaType_AddRef(*media_type);
- }
- if (index > 0)
return MF_E_NO_MORE_TYPES;
Could you add a test for this, by just calling it with type count for index?