Commit 25872a51 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

evr/tests: Add a test for MF_SA_REQUIRED_SAMPLE_COUNT.

parent 421924ae
...@@ -658,6 +658,12 @@ todo_wine ...@@ -658,6 +658,12 @@ todo_wine
attributes = NULL; attributes = NULL;
hr = IMFTransform_GetInputStreamAttributes(transform, 0, &attributes); hr = IMFTransform_GetInputStreamAttributes(transform, 0, &attributes);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr); 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"); ok(!!attributes, "Unexpected attributes.\n");
attributes2 = NULL; attributes2 = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment