Hi, I’m using the 3-argument (including the status) FrameConsumer::create overload (which takes an EGLDisplay and a EGLStreamKHR). Does it take ownership of the EGLDisplay and/or EGLStreamKHR, or should my application be disposing of those?
Some background: I’m running the Argus camera interaction in a separate process. I’ve got it mostly working, except on shutdown when my application calls eglDestroyStreamKHR
it returns FALSE
(indicating an error). I’m not sure if this is because the FrameConsumer
takes care of this for me, or if something else isn’t quite right. Everything seems to work if I just skip calling eglDestroyStreamKHR
, but I’d like to make sure my application isn’t leaking resources anywhere.