Rémi Bernon (@rbernon) commented about dlls/ir50_32/ir50.c:
make_uint64( in->bmiHeader.biWidth, in->bmiHeader.biHeight ) )) )
goto done;
- if ( FAILED(IMFMediaType_SetGUID( output_type, &MF_MT_MAJOR_TYPE, &MFMediaType_Video )) ||
FAILED(IMFMediaType_SetGUID( output_type, &MF_MT_SUBTYPE, output_subtype )) )
goto done;
- if ( FAILED(IMFMediaType_SetUINT64(
output_type, &MF_MT_FRAME_SIZE,
make_uint64( out->bmiHeader.biWidth, abs(out->bmiHeader.biHeight) ) )) )
goto done;
- if ( FAILED(IMFTransform_SetInputType( decoder, 0, input_type, 0 )) ||
FAILED(IMFTransform_SetOutputType( decoder, 0, output_type, 0 )) )
goto done;
- IMFTransform_ProcessMessage( decoder, MFT_MESSAGE_NOTIFY_BEGIN_STREAMING, 0 );
I don't think you need this.