AM_RATE_ResetOnTimeDisc Property

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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.

Label Value
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

Requirement Value
Header
Dvdmedia.h

See also

Rate Change Property Set