Compartir a través de


AM_SEEKING_SEEKING_CAPABILITIES Enumeration

 
Microsoft DirectShow 9.0

AM_SEEKING_SEEKING_CAPABILITIES Enumeration

Specifies the seeking capabilities of a media stream.

Syntax

  typedef 
enum AM_SEEKING_SeekingCapabilities {
    AM_SEEKING_CanSeekAbsolute        = 0x1,
    AM_SEEKING_CanSeekForwards        = 0x2,
    AM_SEEKING_CanSeekBackwards       = 0x4,
    AM_SEEKING_CanGetCurrentPos       = 0x8,
    AM_SEEKING_CanGetStopPos          = 0x10,
    AM_SEEKING_CanGetDuration         = 0x20,
    AM_SEEKING_CanPlayBackwards       = 0x40,
    AM_SEEKING_CanDoSegments          = 0x80,
    AM_SEEKING_Source                 = 0x100
}   AM_SEEKING_SEEKING_CAPABILITIES;

Members

AM_SEEKING_CanSeekAbsolute

The stream can seek to an absolute position.

AM_SEEKING_CanSeekForwards

The stream can seek forward.

AM_SEEKING_CanSeekBackwards

The stream can seek backward.

AM_SEEKING_CanGetCurrentPos

The stream can report its current position. See Remarks.

AM_SEEKING_CanGetStopPos

The stream can report its stop position.

AM_SEEKING_CanGetDuration

The stream can report its duration.

AM_SEEKING_CanPlayBackwards

The stream can play backward.

AM_SEEKING_CanDoSegments

The stream can do seamless looping (see IMediaSeeking::SetPositions).

AM_SEEKING_Source

Reserved.

Remarks

Most DirectShow filters do not report the AM_SEEKING_CanGetCurrentPos capability flag. However, the Filter Graph Manager's implementation of IMediaSeeking::GetCurrentPosition is based on the reference clock, so you can call this method even if the capabilities flags do not include AM_SEEKING_CanGetCurrentPos.

Requirements

  Header: Dshow.h

See Also