androidmedia: Call JNI method with the actual Java object instead of our wrapper struct

Fixes #1105
This commit is contained in:
Cheng-Chang Wu 2019-10-24 19:14:58 +08:00 committed by Sebastian Dröge
parent 912214e34f
commit e71f620eb0

View file

@ -539,7 +539,8 @@ gst_amc_codec_configure (GstAmcCodec * codec, GstAmcFormat * format,
flags = 1;
return gst_amc_jni_call_void_method (env, err, codec->object,
media_codec.configure, format->object, codec->surface, NULL, flags);
media_codec.configure, format->object, codec->surface->jobject, NULL,
flags);
}
GstAmcFormat *