Condividi tramite


MediaCodec.InfoOutputBuffersChanged Field

Definition

Caution

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

The output buffers have changed, the client must refer to the new set of output buffers returned by #getOutputBuffers from this point on.

[Android.Runtime.Register("INFO_OUTPUT_BUFFERS_CHANGED")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecInfoState enum directly instead of this field.", true)]
public const Android.Media.MediaCodecInfoState InfoOutputBuffersChanged = -3;
[<Android.Runtime.Register("INFO_OUTPUT_BUFFERS_CHANGED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecInfoState enum directly instead of this field.", true)>]
val mutable InfoOutputBuffersChanged : Android.Media.MediaCodecInfoState

Field Value

Value = -3
Attributes

Remarks

The output buffers have changed, the client must refer to the new set of output buffers returned by #getOutputBuffers from this point on.

Additionally, this event signals that the video scaling mode may have been reset to the default.

This member is deprecated. This return value can be ignored as #getOutputBuffers has been deprecated. Client should request a current buffer using on of the get-buffer or get-image methods each time one has been dequeued.

Java documentation for android.media.MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED.

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