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:
Nikolay Sivov 2020-10-13 15:26:46 +03:00 committed by Alexandre Julliard
parent 421924ae0a
commit 25872a5172
1 changed files with 6 additions and 0 deletions

View File

@ -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;