I use Microsoft Media Foundation API to realize hardware video encoding.
But we often encounter the problem of program crash. The reproduction probability is high on some new models, such as Microsoft Surface laptop4.
Do you have any suggestions to help me solve this problem?