// NextChapter sets the next chapter if applicable. func (this *Player) NextChapter() (err error) { if this.ptr == nil { return syscall.EINVAL } C.libvlc_media_player_next_chapter(this.ptr) return checkError() }
// NextChapter sets the next chapter if applicable. func (this *Player) NextChapter() (err error) { if this.ptr == nil { return &VLCError{"Player is nil"} } C.libvlc_media_player_next_chapter(this.ptr) return checkError() }