mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
androidmedia: Call JNI method with the actual Java object instead of our wrapper struct
Fixes #1105
This commit is contained in:
parent
912214e34f
commit
e71f620eb0
1 changed files with 2 additions and 1 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue