Partager via


IMediaSample::SetSyncPoint (Compact 2013)

3/26/2014

This method is a property of a synchronization point.

Syntax

HRESULT SetSyncPoint(
  BOOL bIsSyncPoint
);

Parameters

  • bIsSyncPoint
    [in] Set to TRUE to specify the sample as a synchronization point; otherwise, set to FALSE.

Return Value

Returns S_OK.

Remarks

A filter can begin a stream at any synchronization point.

While calling SetSyncPoint with a value of TRUE (1) sets the synchronization point, calling IsSyncPoint on a synchronization point sample returns S_OK (0).

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaSample Interface