mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
SurfaceTexture constructure needs texture_id
This commit is contained in:
parent
484b0ae658
commit
37685f09e0
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ gst_ag_surfacetexture_new (gint texture_id)
|
|||
|
||||
object = (*env)->NewObject (env,
|
||||
android_graphics_surfacetexture.klass,
|
||||
android_graphics_surfacetexture.constructor);
|
||||
android_graphics_surfacetexture.constructor, texture_id);
|
||||
if ((*env)->ExceptionCheck (env) || !object) {
|
||||
GST_ERROR ("Failed to call Java method");
|
||||
(*env)->ExceptionClear (env);
|
||||
|
|
Loading…
Reference in a new issue