Compartir a través de


MediaCodec.InfoOutputFormatChanged Campo

Definición

Precaución

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

El formato de salida ha cambiado; los datos posteriores seguirán el nuevo formato.

[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

Valor de campo

Value = -2
Atributos

Comentarios

El formato de salida ha cambiado; los datos posteriores seguirán el nuevo formato. #getOutputFormat() devuelve el nuevo formato. Tenga en cuenta que también puede usar el nuevo #getOutputFormat(int) método para obtener el formato de un búfer de salida específico. Esto le libera de tener que realizar un seguimiento de los cambios de formato de salida.

Documentación de Java para android.media.MediaCodec.INFO_OUTPUT_FORMAT_CHANGED.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a