Example #1
0
// MarqueeOption returns an integer marquee option value.
func (this *Player) MarqueeOption(option MarqueeOption) (int, error) {
	if this.ptr == nil {
		return 0, syscall.EINVAL
	}
	return int(C.libvlc_video_get_marquee_int(this.ptr, C.uint(option))), checkError()
}
Example #2
0
// MarqueeOption returns an integer marquee option value.
func (this *Player) MarqueeOption(option MarqueeOption) (int, error) {
	if this.ptr == nil {
		return 0, &VLCError{"Player is nil"}
	}
	return int(C.libvlc_video_get_marquee_int(this.ptr, C.uint(option))), checkError()
}