CaptureEngine video capture sample is not working as expected.
FactoryXCode opened this issue · 0 comments
FactoryXCode commented
An error is thrown when switching to another capture device, just after calling CaptureEngine::StartPreview() that results with S_OK, but IMFMediaEvent::GetStatus() throws 0x80070005. Restarting the application and then select the second device does what is expected. But switching to the first device raises the same issue..
When I trace the code in the debugger, the debugger says:
avcore\mf\mfmediaengine\svr\presentationhandlerexceptionwrapper.cpp(64)\mfsvr.dll!5DF7D8CE: (caller: 5DF1B9FF) ReturnHr(1) tid(6768) 80070005 Access Denied.