VMRPresentationFlags enumeration (strmif.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 VMRPRESENTATIONINFO structure .

Syntax

typedef enum VMRPresentationFlags {
  VMRSample_SyncPoint = 0x1,
  VMRSample_Preroll = 0x2,
  VMRSample_Discontinuity = 0x4,
  VMRSample_TimeValid = 0x8,
  VMRSample_SrcDstRectsValid = 0x10
} ;

Constants

 
VMRSample_SyncPoint
Value: 0x1
Indicates that the sample is a sync point.
VMRSample_Preroll
Value: 0x2
Indicates that the sample is part of the preroll.
VMRSample_Discontinuity
Value: 0x4
Indicates that the sample is a discontinuity.
VMRSample_TimeValid
Value: 0x8
Indicates that the time stamp on the sample is valid.
VMRSample_SrcDstRectsValid
Value: 0x10

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header strmif.h (include Dshow.h)

See also

DirectShow Enumerated Types