Exemple #1
0
// NextFrame jumps to the next frame if applicable.
func (this *Player) NextFrame() error {
	if this.ptr == nil {
		return syscall.EINVAL
	}
	C.libvlc_media_player_next_frame(this.ptr)
	return checkError()
}
Exemple #2
0
// NextFrame jumps to the next frame if applicable.
func (this *Player) NextFrame() error {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}
	C.libvlc_media_player_next_frame(this.ptr)
	return checkError()
}