Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This enumeration specifies values for the dwSampleFlagsmember of the AM_SAMPLE2_PROPERTIESstructure. These values describe the properties of media samples.
Syntax
enum tagAM_SAMPLE_PROPERTY_FLAGS { AM_SAMPLE_SPLICEPOINT = 0x01, AM_SAMPLE_PREROLL = 0x02, AM_SAMPLE_DATADISCONTINUITY = 0x04, AM_SAMPLE_TYPECHANGED = 0x08, AM_SAMPLE_TIMEVALID = 0x10, AM_SAMPLE_TIMEDISCONTINUITY = 0x40, AM_SAMPLE_FLUSH_ON_PAUSE = 0x80, AM_SAMPLE_STOPVALID = 0x100, AM_SAMPLE_ENDOFSTREAM = 0x200, AM_STREAM_MEDIA = 0, AM_STREAM_CONTROL = 1 }; |
Elements
- AM_SAMPLE_SPLICEPOINT
-
Sample is a splice point (it can be decoded without reference to previous data).
- AM_SAMPLE_PREROLL
-
Sample is a preroll sample.
- AM_SAMPLE_DATADISCONTINUITY
-
Indicates the start of a new segment.
- AM_SAMPLE_TYPECHANGED
-
Sample type changed.
- AM_SAMPLE_TIMEVALID
-
Time is valid.
- AM_SAMPLE_TIMEDISCONTINUITY
-
A time gap in the data starts after this sample.
The pbBuffermember of the AM_SAMPLE2_PROPERTIESstructure can be NULL in this case.
- AM_SAMPLE_FLUSH_ON_PAUSE
-
For live data only; indicates discard in the paused state.
- AM_SAMPLE_STOPVALID
-
Stop time is valid.
- AM_SAMPLE_ENDOFSTREAM
-
End of stream occurs after this sample.
This is reserved for kernel streaming and DirectShow currently does not use it.
- AM_STREAM_MEDIA
-
Normal data stream identifier.
- AM_STREAM_CONTROL
-
Control stream identifier.
A value greater than 0x7FFFFFFF indicates an application-defined stream.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have
different include file and Library requirements
For more information, see Setting Up the Build Environment,Version 2.12 requires DXPAK 1.0 or later |