Share via


CBaseVideoRenderer::OnDirectRender (Compact 2013)

3/26/2014

Collects timing information that controls synchronization and quality control.

Syntax

virtual void OnDirectRender(
  IMediaSample* pMediaSample
);

Parameters

  • pMediaSample
    Media sample.

Return Value

Returns an HRESULT value.

Remarks

Call this member function instead of OnRenderStart and OnRenderEnd.

This is used by the DirectDraw video renderer.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseVideoRenderer Class