IAMGraphStreams::SyncUsingStreamOffset method (strmif.h)

The SyncUsingStreamOffset method enables or disables synchronization using time-stamp offsets.


HRESULT SyncUsingStreamOffset(
  [in] BOOL bUseStreamOffset


[in] bUseStreamOffset

Boolean value indicating whether to use a time-stamp offset. If TRUE, live sources will use a time-stamp offset to synchronize streams.

Return value

Returns S_OK if successful, or an error code otherwise.


By default, the filter graph does not attempt to synchronize live streams by means of time-stamp offsets. Call this method with a value of TRUE if you want the filter graph to determine the maximum latency in the graph and adjust time stamps accordingly. For more information, see IAMPushSource::SetStreamOffset.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

Error and Success Codes

IAMGraphStreams Interface