MediaExtractorSampleFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum MediaExtractorSampleFlags
[<System.Flags>]
type MediaExtractorSampleFlags =
- Inheritance
-
MediaExtractorSampleFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| Sync | 1 | The sample is a sync sample (or in MediaCodec 's terminology it is a key frame.) Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Encrypted | 2 | The sample is (at least partially) encrypted, see also the documentation for MediaCodec.queueSecureInputBuffer(int, int, CryptoInfo, long, int) Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PartialFrame | 4 | This indicates that the buffer only contains part of a frame, and the decoder should batch the data until a buffer without this flag appears before decoding the frame. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.