Beispiel #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()
}
Beispiel #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()
}