Aracılığıyla paylaş


MediaCodec.InfoOutputFormatChanged Field

Definition

Caution

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

The output format has changed, subsequent data will follow the new format.

[Android.Runtime.Register("INFO_OUTPUT_FORMAT_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 InfoOutputFormatChanged = -2;
[<Android.Runtime.Register("INFO_OUTPUT_FORMAT_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 InfoOutputFormatChanged : Android.Media.MediaCodecInfoState

Field Value

Value = -2
Attributes

Remarks

The output format has changed, subsequent data will follow the new format. #getOutputFormat() returns the new format. Note, that you can also use the new #getOutputFormat(int) method to get the format for a specific output buffer. This frees you from having to track output format changes.

Java documentation for android.media.MediaCodec.INFO_OUTPUT_FORMAT_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