Example #1
0
// Fullscreen returns wether or not we are currently in fullscreen mode.
func (this *Player) Fullscreen() (bool, error) {
	if this.ptr == nil {
		return false, syscall.EINVAL
	}
	return C.libvlc_get_fullscreen(this.ptr) != 0, checkError()
}
Example #2
0
// Fullscreen returns wether or not we are currently in fullscreen mode.
func (this *Player) Fullscreen() (bool, error) {
	if this.ptr == nil {
		return false, &VLCError{"Player is nil"}
	}
	return C.libvlc_get_fullscreen(this.ptr) != 0, checkError()
}