// SetVideoTrack sets the current video track. func (this *Player) SetVideoTrack(track int) (err error) { if this.ptr == nil { return syscall.EINVAL } if C.libvlc_video_set_track(this.ptr, C.int(track)) != 0 { err = checkError() } return }
// SetVideoTrack sets the current video track. func (this *Player) SetVideoTrack(track int) (err error) { if this.ptr == nil { return &VLCError{"Player is nil"} } if C.libvlc_video_set_track(this.ptr, C.int(track)) != 0 { err = checkError() } return }