Compartir a través de


MediaCodec.BufferFlagPartialFrame Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.

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.Runtime.Register("BUFFER_FLAG_PARTIAL_FRAME", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)]
public const Android.Media.MediaCodecBufferFlags BufferFlagPartialFrame = 8;
[<Android.Runtime.Register("BUFFER_FLAG_PARTIAL_FRAME", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)>]
val mutable BufferFlagPartialFrame : Android.Media.MediaCodecBufferFlags

Field Value

Value = 8
Attributes

Remarks

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.

Java documentation for android.media.MediaCodec.BUFFER_FLAG_PARTIAL_FRAME.

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.

Applies to