mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 08:44:29 +08: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:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user