evr/tests: Add a test for MF_SA_REQUIRED_SAMPLE_COUNT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
421924ae0a
commit
25872a5172
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue