点击或拖拽改变大小

MediaAddOptionFlag 方法

Add an option to the media with configurable flags.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public void AddOptionFlag(
	string option,
	uint flags
)

参数

option
类型:SystemString
the media option
flags
类型:SystemUInt32
the flags for this option
备注

This option will be used to determine how the media_player will

read the media. This allows to use VLC's advanced

reading/streaming options on a per-media basis.

The options are detailed in vlc --long-help, for instance

"--sout-all". Note that all options are not usable on medias:

specifically, due to architectural issues, video-related options

such as text renderer options cannot be set on a single media. They

must be set on the whole libvlc instance instead.

参见