After fiddling around for forever and a day, I finally got videos to play 
back on an OpenGL texture.

Now, I'm trying to apply an EffectFactory effect to the texture.  However, 
much to my surprise, I'm getting a
gibberish error.  

When I run this line

Statics.effect.apply(mTextureID, 512, 512, m_Filtered_Texture);

I get this error:


12-04 13:27:03.448: E/MCA(18461): GL Error: Operation 'Binding Texture' 
caused GL error (0x502)
12-04 13:27:03.448: E/MCA(18461): BindInputTextures failed
12-04 13:27:03.458: E/MCA(18461): Unable to render frame
12-04 13:27:03.458: E/MCA(18461): ShaderProgram: error processing shader!
12-04 13:52:18.558: D/dalvikvm(18461): Debugger has detached; object 
registry had 498 entries
12-04 13:52:18.558: I/dalvikvm(18461): ignoring registerObject request in 
thread=12
12-04 13:52:18.558: I/dalvikvm(18461): ignoring registerObject request in 
thread=12
12-04 13:52:18.588: W/dalvikvm(18461): threadid=12: thread exiting with 
uncaught exception (group=0x40ce9930)
12-04 13:52:18.598: E/AndroidRuntime(18461): FATAL EXCEPTION: GLThread 1534
12-04 13:52:18.598: E/AndroidRuntime(18461): java.lang.RuntimeException: 
Error executing ShaderProgram!
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterfw.core.ShaderProgram.process(ShaderProgram.java:123)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterfw.core.Program.process(Program.java:32)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterpacks.imageproc.BlackWhiteFilter.process(BlackWhiteFilter.java:153)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterfw.core.Filter.performProcess(Filter.java:474)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterfw.core.FilterFunction.execute(FilterFunction.java:80)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.filterfw.core.FilterFunction.executeWithArgList(FilterFunction.java:97)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.media.effect.SingleFilterEffect.apply(SingleFilterEffect.java:76)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
com.example.android.basicglsurfaceview.GLES20TriangleRenderer.onDrawFrame(GLES20TriangleRenderer.java:79)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
12-04 13:52:18.598: E/AndroidRuntime(18461): at 
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)


Any ideas what's wrong?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to