Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.3.0, 5.3.1
-
None
-
Win8x64 qt-opensource-windows-x86-msvc2013_opengl-5.3.1
-
389d66b3ed5e2d798e9fb124064523239c393ad8
Description
There is mistaken call of pEnum->Release() in line #653. It should be change on pPin->Release().
source file: plugins/directshow/camera/dscamerasession.cpp
HRESULT DSCameraSession::getPin(IBaseFilter *pFilter, PIN_DIRECTION PinDir, IPin **ppPin)
645: while(pEnum->Next(1, &pPin, NULL) == S_OK){
646: PIN_DIRECTION ThisPinDir;
647: pPin->QueryDirection(&ThisPinDir);
648: if(ThisPinDir == PinDir)
653: pEnum->Release(); <---- mistake ( chage on pPin->Release())
654: }