Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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_SyncPointValue: 0x1 Indicates that the sample is a sync point. |
VMRSample_PrerollValue: 0x2 Indicates that the sample is part of the preroll. |
VMRSample_DiscontinuityValue: 0x4 Indicates that the sample is a discontinuity. |
VMRSample_TimeValidValue: 0x8 Indicates that the time stamp on the sample is valid. |
VMRSample_SrcDstRectsValidValue: 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) |