You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement frame capture on the CineIO API, so users can creat thumbnails on the fly. EglSurfaceBase's saveFrame method works really well BUT I'm not sure how to access it properly.
The method works great when I set it up from within TextureMovieEncoder's handleFrameAvailable method (it generates multiple frames very quickly if I just dump the code there).
But of course I want the code to fire upon the user clicking on a button and for now every implementation I attempt returns the error:
"Expected EGL context/surface is not current"
I was wondering if you guys had a recommended route for using the saveFrame method from EglSurfaceBase, and if you had any advice on how I can approach this problem.
Thanks!
The text was updated successfully, but these errors were encountered:
Hey @lgorse that's a great idea. I don't have any immediate advice for approaching the problem. If you are able to make it work, we'll gladly accept a PR.
I'm trying to implement frame capture on the CineIO API, so users can creat thumbnails on the fly. EglSurfaceBase's saveFrame method works really well BUT I'm not sure how to access it properly.
The method works great when I set it up from within TextureMovieEncoder's handleFrameAvailable method (it generates multiple frames very quickly if I just dump the code there).
But of course I want the code to fire upon the user clicking on a button and for now every implementation I attempt returns the error:
I was wondering if you guys had a recommended route for using the saveFrame method from EglSurfaceBase, and if you had any advice on how I can approach this problem.
Thanks!
The text was updated successfully, but these errors were encountered: