Update VideoImageGenerator to match new API.
SkImageGenerator is in the process of adding an enum return value to onGetPixels. For staging, it has been replaced with onGetPixelsEnum. (See https://codereview.chromium.org/919693002/) Implement the new API. A follow up change will rename onGetPixelsEnum to onGetPixels. No need to check for null pixels; onGetPixels is only called by getPixels which has already done the check. R=reed@google.com,fmalita@chromium.org BUG=skia:3257 Review URL: https://codereview.chromium.org/934263002 Cr-Commit-Position: refs/heads/master@{#317038}
Showing
Please register or sign in to comment