SurfaceTexture constructure needs texture_id
This commit is contained in:
parent
484b0ae658
commit
37685f09e0
@ -60,7 +60,7 @@ gst_ag_surfacetexture_new (gint texture_id)
|
|||||||
|
|
||||||
object = (*env)->NewObject (env,
|
object = (*env)->NewObject (env,
|
||||||
android_graphics_surfacetexture.klass,
|
android_graphics_surfacetexture.klass,
|
||||||
android_graphics_surfacetexture.constructor);
|
android_graphics_surfacetexture.constructor, texture_id);
|
||||||
if ((*env)->ExceptionCheck (env) || !object) {
|
if ((*env)->ExceptionCheck (env) || !object) {
|
||||||
GST_ERROR ("Failed to call Java method");
|
GST_ERROR ("Failed to call Java method");
|
||||||
(*env)->ExceptionClear (env);
|
(*env)->ExceptionClear (env);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user