// VideoTrackCount returns the number of video tracks in the current media. func (this *Player) VideoTrackCount() (int, error) { if this.ptr == nil { return 0, syscall.EINVAL } return int(C.libvlc_video_get_track_count(this.ptr)), checkError() }
// VideoTrackCount returns the number of video tracks in the current media. func (this *Player) VideoTrackCount() (int, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return int(C.libvlc_video_get_track_count(this.ptr)), checkError() }