Exemplo n.º 1
0
// AdjustOptionFloat returns a float adjustment option.
func (this *Player) AdjustOptionFloat(option AdjustOption) (float32, error) {
	if this.ptr == nil {
		return 0, syscall.EINVAL
	}
	return float32(C.libvlc_video_get_adjust_float(this.ptr, C.uint(option))), checkError()
}
Exemplo n.º 2
0
// AdjustOptionFloat returns a float adjustment option.
func (this *Player) AdjustOptionFloat(option AdjustOption) (float32, error) {
	if this.ptr == nil {
		return 0, &VLCError{"Player is nil"}
	}
	return float32(C.libvlc_video_get_adjust_float(this.ptr, C.uint(option))), checkError()
}