Media Foundation Source Reader: ReadSample is not cancelled by Flush

Schaefer, Joerg 1 Reputation point
2021-02-05T11:18:41.707+00:00

A synchronous Source Reader 'Read Sample' function call is made to an UVC camera media source and no image is returned by the camera. The function call blocks and is not cancelled by 'Flush'.
How can a pending synchronous ReadSample() call be cancelled?

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.