ofVideoPlayer load in thread freezes

I’m trying to write an app that uses ofThread to load video into a ofVideoPlayer. To prevent the thread from calling opengl while loading, I setUseTextures to false and fetch the pixel data in the main app to a texture that I then draw. However when I start playing the video in my main thread, it only plays 2 frames then it freezes, not the app but the videoplayer. I suspect its not loading properly, but I’m at a loss on how to fix it. Its hard to show code right now as its a mess, but if anyone has any ideas of how to load video via a thread, could you please post them

Might want to look at this