Closed lov closed 9 years ago
great, thanks- i've updated the test app, please let me know if this is still a problem...
happy holidays!
thanks Ray, works as expected.
Happy Holidays for you too!
The flush shouldn't be needed and isn't particularly desirable - the problem looks more like memory being reused too soon. The QuickTime demo app works happily on Intel cards without an extra flush.
That is interesting. I always needed that flush in HapPixelBufferTexture class to make it work on Intel chips (with the QT codec as well). I think we talked about that a couple of years ago.
On Intel cards the decoding of Hap frames goes wrong, see attached picture.
To fix that need to call glFlush() right after glCompressedTexSubImage2D() in HapPixelBufferTexture setDecodedFrame: method.
BTW, this needs to be added to the hap-quicktime-playback-demo project too.