Exemple #1
0
// LogoOption returns an integer logo option.
func (this *Player) LogoOption(option LogoOption) (int, error) {
	if this.ptr == nil {
		return 0, syscall.EINVAL
	}
	return int(C.libvlc_video_get_logo_int(this.ptr, C.uint(option))), checkError()
}
Exemple #2
0
// LogoOption returns an integer logo option.
func (this *Player) LogoOption(option LogoOption) (int, error) {
	if this.ptr == nil {
		return 0, &VLCError{"Player is nil"}
	}
	return int(C.libvlc_video_get_logo_int(this.ptr, C.uint(option))), checkError()
}