Exemplo n.º 1
0
// ToggleTeletext toggles transparent teletext status on video output.
func (this *Player) ToggleTeletext() error {
	if this.ptr == nil {
		return syscall.EINVAL
	}

	C.libvlc_toggle_teletext(this.ptr)
	return checkError()
}
Exemplo n.º 2
0
// ToggleTeletext toggles transparent teletext status on video output.
func (this *Player) ToggleTeletext() error {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}

	C.libvlc_toggle_teletext(this.ptr)
	return checkError()
}