Esempio n. 1
0
// PreviousChapter sets the previous chapter if applicable.
func (this *Player) PreviousChapter() (err error) {
	if this.ptr == nil {
		return syscall.EINVAL
	}
	C.libvlc_media_player_previous_chapter(this.ptr)
	return checkError()
}
Esempio n. 2
0
// PreviousChapter sets the previous chapter if applicable.
func (this *Player) PreviousChapter() (err error) {
	if this.ptr == nil {
		return &VLCError{"Player is nil"}
	}
	C.libvlc_media_player_previous_chapter(this.ptr)
	return checkError()
}