Compartilhar via


AM_RATE_ResetOnTimeDisc Property

 
Microsoft DirectShow 9.0

AM_RATE_ResetOnTimeDisc Property

Applies to Windows Vista and later.

This property queries whether the decoder resynchronizes the output time stamps to the input time stamps when the decoder receives a sample with the discontinuity flag.

This property is read/write.

Property Set GUID AM_KSPROPSETID_TSRateChange
Property ID AM_RATE_ResetOnTimeDisc
Data Type DWORD

Remarks

This property supports smooth rate changes. If the value of this property is TRUE and the decoder receives an input sample with the AM_SAMPLE_TIMEDISCONTINUITY flag, the decoded frame should have the same time stamp as the input frame.

To retrieve the AM_SAMPLE_TIMEDISCONTINUITY flag, call IMediaSample2::GetProperties on the sample. The flag is set in the dwSampleFlags member of the AM_SAMPLE2_PROPERTIES structure.

For more information, see DVD Playback Enhancements in Windows Vista.

Requirements

  Header: Include Dvdmedia.h.

See Also