Microsoft DirectX 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.

See Also