MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / NonDelegatingQueryInterface

Method NonDelegatingQueryInterface

common/baseclasses/renbase.cpp:143–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141// Overriden to say what interfaces we support and where
142
143STDMETHODIMP CBaseRenderer::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv)
144{
145 // Do we have this interface
146
147 if (riid == IID_IMediaPosition || riid == IID_IMediaSeeking)
148 {
149 return GetMediaPositionInterface(riid, ppv);
150 }
151 else
152 {
153 return CBaseFilter::NonDelegatingQueryInterface(riid, ppv);
154 }
155}
156
157// This is called whenever we change states, we have a manual reset event that
158// is signalled whenever we don't won't the source filter thread to wait in us

Callers 1

Calls 1

GetInterfaceFunction · 0.85

Tested by

no test coverage detected