Example #1
0
// 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()
}
Example #2
0
// 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()
}