videoInput icon indicating copy to clipboard operation
videoInput copied to clipboard

videoDevice Destructor freezes randomly when USB Capture Card is used

Open jayantySrikrishna opened this issue 5 years ago • 0 comments

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);

jayantySrikrishna avatar Feb 04 '20 14:02 jayantySrikrishna