openframeworks / openframeworks/openFrameworks
ofVideoPlayer not working on Android if OpenGL ES 2 is used
Open
@danoli3 is already working on this.
Since Aug 31, 2021.
android
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
If I use this code in main.cpp:
` ofGLESWindowSettings settings;
settings.setGLESVersion(2);
ofCreateWindow(settings);
ofRunApp( new ofApp() );
return 0;`
ofVideoPlayer is not drawn,just a black rectangle is shown.
But if I use:
ofSetupOpenGL(1024,768, OF_WINDOW);
ofRunApp( new ofApp() );
return 0;
Then ofVideoPlayer is drawn on the screen without problem.
I need to draw ofVideoPlayer onto screen using OpenGL ES 2, how can I solve this problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.