MediaCodec.InfoOutputFormatChanged 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Media.MediaCodecInfoState enum directly instead of this field.
输出格式已更改,后续数据将遵循新格式。
[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
字段值
Value = -2- 属性
注解
输出格式已更改,后续数据将遵循新格式。 #getOutputFormat()
返回新格式。 请注意,还可以使用新 #getOutputFormat(int)
方法获取特定输出缓冲区的格式。 这样,就无需跟踪输出格式更改。
适用于 . 的 android.media.MediaCodec.INFO_OUTPUT_FORMAT_CHANGED
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。