Share via


VMR9PresentationFlags enumeration (vmr9.h)

[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.]

The VMR9PresentationFlags enumeration type contains flags that describe the status of a video sample. These flags are used in the VMR9PresentationInfo structure.

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0000_0002 {
  VMR9Sample_SyncPoint = 0x1,
  VMR9Sample_Preroll = 0x2,
  VMR9Sample_Discontinuity = 0x4,
  VMR9Sample_TimeValid = 0x8,
  VMR9Sample_SrcDstRectsValid = 0x10
} VMR9PresentationFlags;

Constants

 
VMR9Sample_SyncPoint
Value: 0x1
Indicates that the sample is a sync point.
VMR9Sample_Preroll
Value: 0x2
Indicates that the sample is part of the preroll.
VMR9Sample_Discontinuity
Value: 0x4
Indicates that the sample is a discontinuity.
VMR9Sample_TimeValid
Value: 0x8
Indicates that the time stamp on the sample is valid.
VMR9Sample_SrcDstRectsValid
Value: 0x10

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Enumerated Types