Rémi Bernon (@rbernon) commented about dlls/winegstreamer/h264_decoder.c:
+static HRESULT output_sample(struct h264_decoder *decoder, IMFSample **out, IMFSample *src_sample) +{
- MFT_OUTPUT_DATA_BUFFER output[1];
- DWORD status;
- HRESULT hr;
- if (FAILED(hr = init_allocator(decoder)))
- {
ERR("Failed to initialize allocator, hr %#lx.\n", hr);
return hr;
- }
- if (FAILED(hr = IMFVideoSampleAllocatorEx_AllocateSample(decoder->allocator, out)))
return hr;
- IMFTransform_ProcessInput(decoder->copier, 0, src_sample, 0);
Same thing here.