Partager via


CRendererPosPassThru Class (Compact 2013)

3/26/2014

CPosPassThru Class

     CRendererPosPassThru Class

The IMediaSeeking interface is used to seek to a specific sample, frame, or indexed field.

These values are indicated by a whole number, such as frame 20 of a sequence of 530.

However, when asked for a reference start or end time (in seconds), the sample must have this information previously set.

The CRendererPosPassThru class, implemented on the video renderer, performs this service because the renderer is responsible for keeping track of reference time and stream time.

Member Functions

Member function

Description

CRendererPosPassThru

Constructs a CRendererPosPassThru object.

GetMediaTime

Returns the media start and end times registered in the object.

RegisterMediaTime

Registers the media start and end times with the object.

ResetMediaTime

Resets the object's media start and end times.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

DirectShow Classes