[PATCH 3/5] evr/tests: Add a test for MF_SA_REQUIRED_SAMPLE_COUNT.
Nikolay Sivov
nsivov at codeweavers.com
Tue Oct 13 07:26:46 CDT 2020
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/evr/tests/evr.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/evr/tests/evr.c b/dlls/evr/tests/evr.c
index 7a51b3c17db..72642110a78 100644
--- a/dlls/evr/tests/evr.c
+++ b/dlls/evr/tests/evr.c
@@ -658,6 +658,12 @@ todo_wine
attributes = NULL;
hr = IMFTransform_GetInputStreamAttributes(transform, 0, &attributes);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
+ hr = IMFAttributes_GetCount(attributes, &count);
+ ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
+ ok(count == 1, "Unexpected count %u.\n", count);
+ hr = IMFAttributes_GetUINT32(attributes, &MF_SA_REQUIRED_SAMPLE_COUNT, &count);
+ ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
+ ok(count == 1, "Unexpected count %u.\n", count);
ok(!!attributes, "Unexpected attributes.\n");
attributes2 = NULL;
--
2.28.0
More information about the wine-devel
mailing list