_MFP_MEDIAITEM_CHARACTERISTICS enumeration

Important  Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
 

Contains flags that describe a media item.

Syntax


typedef enum _MFP_MEDIAITEM_CHARACTERISTICS { 
  MFP_MEDIAITEM_IS_LIVE        = 0x00000001,
  MFP_MEDIAITEM_CAN_SEEK       = 0x00000002,
  MFP_MEDIAITEM_CAN_PAUSE      = 0x00000004,
  MFP_MEDIAITEM_HAS_SLOW_SEEK  = 0x00000008
} _MFP_MEDIAITEM_CHARACTERISTICS;

Constants

MFP_MEDIAITEM_IS_LIVE

The media item represents a live data source, such as video camera. If playback is stopped and then restarted, there will be a gap in the content.

MFP_MEDIAITEM_CAN_SEEK

The media item supports seeking. If this flag is absent, the IMFPMediaPlayer::SetPosition method will fail.

MFP_MEDIAITEM_CAN_PAUSE

The media item can pause. If this flag is absent, the IMFPMediaPlayer::Pause method will likely fail.

MFP_MEDIAITEM_HAS_SLOW_SEEK

Seeking can take a long time. For example, the source might download content through HTTP.

Remarks

The following typedef is defined for combining flags from this enumeration.

typedef UINT32 MFP_MEDIAITEM_CHARACTERISTICS;

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfplay.h

See also

Media Foundation Enumerations
IMFPMediaItem::GetCharacteristics

 

 

Show: