Partager via


KS_AM_KSPROPSETID_TSRateChange (Windows Embedded CE 6.0)

1/6/2010

The KSPROPSETID_TSRateChange property set defines a set of properties to effect time stamp rate changes. This property set can be used to implement fast-forward and rewind capabilities. KSPROPSETID_TSRateChange is not restricted to DVD-only usage, and can be used for any MPEG2 stream.

typedef enum {
    KS_AM_RATE_SimpleRateChange=1,
    KS_AM_RATE_ExactRateChange=2,
    KS_AM_RATE_MaxFullDataRate=3,
    KS_AM_RATE_Step=4
} KS_AM_PROPERTY_TS_RATE_CHANGE;

Elements

  • KS_AM_RATE_SimpleRateChange
    Equal to 1. The KS_AM_RATE_SimpleDataRate property is used to set a time stamp rate on a filter.
  • KS_AM_RATE_ExactRateChange
    Equal to 2. The property value (operation data) is of type KS_AM_ExactRateChange
  • KS_AM_RATE_MaxFullDataRate
    Equal to 3. The property value (operation data) is of type KS_AM_MaxFullDataRate (a type-defined LONG).
  • KS_AM_RATE_Step
    Equal to 4. The property value (operation data) is of type KS_AM_Step (a type defined DWORD)

Remarks

This property set is used by the Digital Video Recorder to query the decoder filter for the full frame maximum forward and backward rates (AM_RATE_MaxFullDataRate), to query for the maximum full frame rate (AM_RATE_QueryFullFrameRate), and to set the current rate (AM_RATE_SimpleRateChange).

Requirements

Header dvdmedia.h
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Reference

DirectShow Enumerations
IKsPropertySet Interface