The video Capture freezes while trying to Stop pControl.
//Check to see if the graph is running, if so stop it.
if ((pControl))
{
HR = pControl->Pause();
if (FAILED(HR)) if (verbose)printf("ERROR - Could not pause pControl\n");
HR = pControl->Stop();
if (FAILED(HR)) if (verbose)printf("ERROR - Could not stop pControl\n");
}
//Disconnect filters from capture device
if ((pVideoInputFilter))NukeDownstream(pVideoInputFilter);
The video Capture freezes while trying to Stop pControl.