Nikolay Sivov (@nsivov) commented about dlls/mfplat/tests/mfplat.c:
hr = IMFTransform_SetOutputType(xvp, 0, type, 0); ok(hr == S_OK, "Failed to set output type, hr %#lx.\n", hr);
- hr = IMFTransform_GetOutputStreamInfo(xvp, 0, &out_info);
- ok(hr == S_OK, "Failed to get output stream info, hr %#lx.\n", hr);
- ok(out_info.cbSize == 4, "Output size should be 4.\n");
- in_sample = create_dxgi_sample(device, 0xdeadbeef, 0);
- IMFSample_Release(test_xvp_process_sample(xvp, in_sample, NULL));
- if ((out_info.dwFlags & MFT_OUTPUT_STREAM_PROVIDES_SAMPLES) || (out_info.dwFlags & MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES))
- {
IMFSample_Release(test_xvp_process_sample(xvp, in_sample, NULL));
Please use a variable here for the sample pointer.