androidmedia: Make sure that the first member of GstAmcSurfaceTextureJNI is correct

It's a subclass of GstAmcSurfaceTexture so should have that as first
struct member or otherwise it won't work.

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

View file

@ -30,6 +30,7 @@
struct _GstAmcSurfaceTextureJNI
{
GstAmcSurfaceTexture parent_instance;
jobject jobject;
gint texture_id;