CBaseVideoRenderer::OnDirectRender
Microsoft DirectShow 9.0 |
CBaseVideoRenderer::OnDirectRender
The OnDirectRender method collects timing information that controls synchronization and quality control.
Syntax
virtual void OnDirectRender( IMediaSample *pMediaSample );
Parameters
pMediaSample
Pointer to the media sample.
Return Value
Returns an HRESULT value.
Remarks
Call this member function instead of OnRenderStart and OnRenderEnd. This is used by the Microsoft® DirectDraw® video renderer.
Requirements
** Header:** Declared in Renbase.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also