MediaFormat.KeyOutputReorderDepth Field
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.
An optional key describing the maximum number of non-display-order coded frames.
[Android.Runtime.Register("KEY_OUTPUT_REORDER_DEPTH", ApiSince=28)]
public const string KeyOutputReorderDepth;
[<Android.Runtime.Register("KEY_OUTPUT_REORDER_DEPTH", ApiSince=28)>]
val mutable KeyOutputReorderDepth : string
Field Value
- Attributes
Remarks
An optional key describing the maximum number of non-display-order coded frames. This is an optional parameter that applies only to video encoders. Application should check the value for this key in the output format to see if codec will produce non-display-order coded frames. If encoder supports it, the output frames' order will be different from the display order and each frame's display order could be retrived from MediaCodec.BufferInfo#presentationTimeUs
. Before API level 27, application may receive non-display-order coded frames even though the application did not request it. Note: Application should not rearrange the frames to display order before feeding them to MediaMuxer#writeSampleData
.
The default value is 0.
Java documentation for android.media.MediaFormat.KEY_OUTPUT_REORDER_DEPTH
.
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.