| 141 | // Overriden to say what interfaces we support and where |
| 142 | |
| 143 | STDMETHODIMP 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 |
no test coverage detected