From: Brendan McGrath <bmcgrath@codeweavers.com> --- dlls/amstream/tests/amstream.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dlls/amstream/tests/amstream.c b/dlls/amstream/tests/amstream.c index 7077c638c9f..53dbef6edcd 100644 --- a/dlls/amstream/tests/amstream.c +++ b/dlls/amstream/tests/amstream.c @@ -2903,6 +2903,17 @@ static void test_enum_media_types(void) hr = IEnumMediaTypes_Next(enum1, 1, mts, &count); ok(hr == S_OK, "Got hr %#lx.\n", hr); ok(count == 1, "Got count %lu.\n", count); + ok(IsEqualGUID(&mts[0]->majortype, &MEDIATYPE_Video), "Got major type %s\n", + wine_dbgstr_guid(&mts[0]->majortype)); + ok(IsEqualGUID(&mts[0]->subtype, &MEDIASUBTYPE_RGB8), "Got subtype %s\n", + wine_dbgstr_guid(&mts[0]->subtype)); + ok(mts[0]->bFixedSizeSamples == TRUE, "Got fixed size %d.\n", mts[0]->bFixedSizeSamples); + ok(!mts[0]->bTemporalCompression, "Got temporal compression %d.\n", mts[0]->bTemporalCompression); + ok(mts[0]->lSampleSize == 10000, "Got sample size %lu.\n", mts[0]->lSampleSize); + ok(IsEqualGUID(&mts[0]->formattype, &GUID_NULL), "Got format type %s.\n", + wine_dbgstr_guid(&mts[0]->formattype)); + ok(!mts[0]->pUnk, "Got pUnk %p.\n", mts[0]->pUnk); + CoTaskMemFree(mts[0]); hr = IEnumMediaTypes_Next(enum1, 1, mts, &count); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10677