Partager via


CBaseVideoRenderer::OnRenderStart (Compact 2013)

3/26/2014

Sets information for rendering.

Syntax

void OnRenderStart(
  IMediaSample* pMediaSample
);

Parameters

  • pMediaSample
    Media sample.

Return Value

None.

Remarks

This member function retrieves the current clock time from the system and stores it in a member variable to be used when the drawing is complete.

The function also performs performance logging.

This member function should be called just before drawing starts.

This member function overrides CBaseRenderer::OnRenderStart.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseVideoRenderer Class