mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 16:08:31 +00:00
[STRMBASE] Sync with Wine 3.0. CORE-14225
This commit is contained in:
parent
85b71880fa
commit
a7ef5747b5
10 changed files with 205 additions and 97 deletions
6
sdk/lib/3rdparty/strmbase/renderer.c
vendored
6
sdk/lib/3rdparty/strmbase/renderer.c
vendored
|
@ -228,7 +228,8 @@ static const BaseInputPinFuncTable input_BaseInputFuncTable = {
|
|||
};
|
||||
|
||||
|
||||
HRESULT WINAPI BaseRenderer_Init(BaseRenderer * This, const IBaseFilterVtbl *Vtbl, IUnknown *pUnkOuter, const CLSID *pClsid, DWORD_PTR DebugInfo, const BaseRendererFuncTable* pBaseFuncsTable)
|
||||
HRESULT WINAPI BaseRenderer_Init(BaseRenderer * This, const IBaseFilterVtbl *Vtbl, IUnknown *pUnkOuter, const CLSID *pClsid,
|
||||
DWORD_PTR DebugInfo, const BaseRendererFuncTable* pBaseFuncsTable)
|
||||
{
|
||||
PIN_INFO piInput;
|
||||
HRESULT hr;
|
||||
|
@ -247,7 +248,8 @@ HRESULT WINAPI BaseRenderer_Init(BaseRenderer * This, const IBaseFilterVtbl *Vtb
|
|||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = CreatePosPassThru(pUnkOuter ? pUnkOuter: (IUnknown*)This, TRUE, &This->pInputPin->pin.IPin_iface, &This->pPosition);
|
||||
hr = CreatePosPassThru(pUnkOuter ? pUnkOuter: (IUnknown *)&This->filter.IBaseFilter_iface, TRUE,
|
||||
&This->pInputPin->pin.IPin_iface, &This->pPosition);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue