Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Determines if the video should be drawn without setting a timer advise link with the clock.
virtual HRESULT ShouldDrawSampleNow( IMediaSample * pMediaSample , REFERENCE_TIME * ptrStart , REFERENCE_TIME * ptrEnd );
Parameters
Return Values
Returns an HRESULTvalue. Returns S_OK to mean draw at once without waiting, S_FALSE to mean draw at time ptrStart, or error to mean do not draw the sample; that is, skip it to save time.
Remarks
This member function overrides CBaseRenderer::ShouldDrawSampleNow.