mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +00:00
[STRMBASE] Fix MediaSeekingPassThru_GetPositions when the pins are unconnected. By Erich E. Hoover. CORE-9303
svn path=/trunk/; revision=67128
This commit is contained in:
parent
2f3d8a962c
commit
36e31c92b2
6
reactos/lib/3rdparty/strmbase/pospass.c
vendored
6
reactos/lib/3rdparty/strmbase/pospass.c
vendored
|
@ -516,9 +516,11 @@ static HRESULT WINAPI MediaSeekingPassThru_GetPositions(IMediaSeeking * iface, L
|
|||
if (SUCCEEDED(hr)) {
|
||||
hr = IMediaSeeking_GetPositions(seek, pCurrent, pStop);
|
||||
IMediaSeeking_Release(seek);
|
||||
} else if (hr == VFW_E_NOT_CONNECTED) {
|
||||
*pCurrent = 0;
|
||||
*pStop = 0;
|
||||
hr = S_OK;
|
||||
}
|
||||
else
|
||||
return E_NOTIMPL;
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue