Compartilhar via


CMediaSample::SetSyncPoint (Compact 2013)

3/26/2014

Property of a synchronization point.

Syntax

HRESULT SetSyncPoint(
  BOOL bIsSyncPoint 
);

Parameters

  • bIsSyncPoint
    Value specifying whether the synchronization point was set.

Return Value

Returns S_OK.

Remarks

This member function implements the IMediaSample::SetSyncPoint method.

It sets the value of the m_dwFlags Sample_SyncPoint flag to the value of bIsSyncPoint.

A filter can begin a stream at any synchronization point.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMediaSample Class