コード例 #1
0
ファイル: player.go プロジェクト: jteeuwen/go-vlc
// SetMarqueeOption sets an integer marquee option value.
func (this *Player) SetMarqueeOption(option MarqueeOption, v int) error {
	if this.ptr == nil {
		return syscall.EINVAL
	}
	C.libvlc_video_set_marquee_int(this.ptr, C.uint(option), C.int(v))
	return checkError()
}
コード例 #2
0
ファイル: player.go プロジェクト: henrym/go-vlc
// SetMarqueeOption sets an integer marquee option value.
func (this *Player) SetMarqueeOption(option MarqueeOption, v int) error {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}
	C.libvlc_video_set_marquee_int(this.ptr, C.uint(option), C.int(v))
	return checkError()
}