Пример #1
0
// AdjustOption returns an integer adjustment option.
func (this *Player) AdjustOption(option AdjustOption) (int, error) {
	if this.ptr == nil {
		return 0, syscall.EINVAL
	}
	return int(C.libvlc_video_get_adjust_int(this.ptr, C.uint(option))), checkError()
}
Пример #2
0
// AdjustOption returns an integer adjustment option.
func (this *Player) AdjustOption(option AdjustOption) (int, error) {
	if this.ptr == nil {
		return 0, &VLCError{"Player is nil"}
	}
	return int(C.libvlc_video_get_adjust_int(this.ptr, C.uint(option))), checkError()
}