@nickhubben wrote:
Having trouble using the getPixels() method and no luck in tracking down exactly why.
VS debugger is throwing an error at processPixels(), specifically:
dstPixel[1] = srcPixel[1]
in the "if(src.getPixelFormat() == OF_PIXELS_BGR)" block.I had thought that it was possible that since 'dst' is being reallocated in that block, that dstLine and endLine needed to be reset. Didn't help. It's odd to me that it's got a problem at 'pixel[1] and not 'pixel[0].
Only other error:
ERROR: SampleCB<> - buffer sizes do not match 6220800 8294400I'm loading 'standard' 1080p mp4 videos that did not cause a problem before the recent github update.
referencing https://github.com/openframeworks/openFrameworks/issues/4679
and the recent commit that closed itAny help is very appreciated as I'll need to try to revert back before the end of the day if I can't figure this out. Thanks!!
Posts: 9
Participants: 3