Example #1
0
// SetAdjustOptionFloat sets a float adjustment option value.
// Options that take a different type value are ignored.
func (this *Player) SetAdjustOptionFloat(option AdjustOption, v float32) error {
	if this.ptr == nil {
		return syscall.EINVAL
	}
	C.libvlc_video_set_adjust_float(this.ptr, C.uint(option), C.float(v))
	return checkError()
}
Example #2
0
// SetAdjustOptionFloat sets a float adjustment option value.
// Options that take a different type value are ignored.
func (this *Player) SetAdjustOptionFloat(option AdjustOption, v float32) error {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}
	C.libvlc_video_set_adjust_float(this.ptr, C.uint(option), C.float(v))
	return checkError()
}