Exemplo n.º 1
0
// ToggleFullscreen switches between fullscreen and windowed modes on
// non-embedded video outputs.
//
// Note: The same limitations apply to this as to Player.SetFullscreen()
func (this *Player) ToggleFullscreen() error {
	if this.ptr == nil {
		return syscall.EINVAL
	}
	C.libvlc_toggle_fullscreen(this.ptr)
	return checkError()
}
Exemplo n.º 2
0
// ToggleFullscreen switches between fullscreen and windowed modes on
// non-embedded video outputs.
//
// Note: The same limitations apply to this as to Player.SetFullscreen()
func (this *Player) ToggleFullscreen() error {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}
	C.libvlc_toggle_fullscreen(this.ptr)
	return checkError()
}