issue on saving
See original GitHub issueHi, Thank you for this amazing library!
However, I just run sample app of this project, and found that if I follow the flow below, causes error. movie preview --> select filter(bilateral_blur/box_blur/brightness etc) --> touch save button
Process: com.daasuu.gpuvideoandroid, PID: 12432
java.lang.IllegalStateException: Could not get attrib or uniform location for center
at com.daasuu.gpuv.egl.filter.GlFilter.getHandle(GlFilter.java:153)
at com.daasuu.gpuv.egl.filter.GlBulgeDistortionFilter.onDraw(GlBulgeDistortionFilter.java:77)
at com.daasuu.gpuv.egl.filter.GlFilter.draw(GlFilter.java:121)
at com.daasuu.gpuv.player.GPUPlayerRenderer.onDrawFrame(GPUPlayerRenderer.java:162)
at com.daasuu.gpuv.egl.GlFrameBufferObjectRenderer.onDrawFrame(GlFrameBufferObjectRenderer.java:58)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
These are the error logs, and this is caused because below two methods returns -1
GLES20.glGetAttribLocation(program, name);
GLES20.glGetUniformLocation(program, name);
Do you have any idea that I can fix this issue?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Problems of Saving Money - 5 saving problems and how to ...
1. Spending too much on rent. Rent is the biggest expense most people have to cover every month. · 2. No defined budget...
Read more >The 'Problem' With Saving - Forbes
Low savings rates have typically been a sign of pending trouble in the years that follow. The savings rate dropped below 5 percent...
Read more >3 Ways to Solve Your Saving Problems | The Motley Fool
While covering expenses can indeed be a challenge, the good news is almost every family can find ways to cut spending so they...
Read more >Top 8 Money Problems Americans Are Facing - Acorns
The top two concerns are not having enough emergency savings and being able to cover everyday expenses. A good way to boost your...
Read more >Why Can't I Save Money? 10 Possible Reasons Why
1. You don't have a budget ; 2. You can't save money because you have a lot of debt ; 3. You're living...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi. I have the same issue. How to edit this code when I use library as dependency? PS: Problem seems to be solved. I’m creating new GLFilter object for generate video. Previously I’m was using same filter which was used to add filter to preview.
Thanks you, you save my day