MediaPlayerSetVideoFormat 方法 |
Set decoded video chroma and dimensions. This only works in
combination with MediaPlayer::setCallbacks() , and is mutually exclusive
with MediaPlayer::setFormatCallbacks()
命名空间:
LibVLCSharp.Shared
程序集:
CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法public void SetVideoFormat(
string chroma,
uint width,
uint height,
uint pitch
)
参数
- chroma
- 类型:SystemString
a four-characters string identifying the chroma (e.g."RV32" or "YUYV") - width
- 类型:SystemUInt32
pixel width - height
- 类型:SystemUInt32
pixel height - pitch
- 类型:SystemUInt32
line pitch (in bytes)
参见