Merge pull request #773 from google/fixcbsize

honor setFramesPerCallback()