summaryrefslogtreecommitdiff
path: root/sys/androidmedia
diff options
context:
space:
mode:
authorCheng-Chang Wu <ccwu660601@mapacode.tw>2019-10-24 19:10:30 +0800
committerSebastian Dröge <slomo@coaxion.net>2019-10-25 13:56:13 +0000
commitb5e506d12b2a2e78d30931e5d88cc101fa971574 (patch)
tree352fb47f39950189f9e7185d2f29a4fb5e7618fa /sys/androidmedia
parente71f620eb0b80305eba5646be853833efd211e52 (diff)
downloadgstreamer-plugins-bad-b5e506d12b2a2e78d30931e5d88cc101fa971574.tar.gz
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
Diffstat (limited to 'sys/androidmedia')
-rw-r--r--sys/androidmedia/jni/gstamcsurfacetexture-jni.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/androidmedia/jni/gstamcsurfacetexture-jni.c b/sys/androidmedia/jni/gstamcsurfacetexture-jni.c
index 1aab44ce6..17e252529 100644
--- a/sys/androidmedia/jni/gstamcsurfacetexture-jni.c
+++ b/sys/androidmedia/jni/gstamcsurfacetexture-jni.c
@@ -30,6 +30,7 @@
struct _GstAmcSurfaceTextureJNI
{
+ GstAmcSurfaceTexture parent_instance;
jobject jobject;
gint texture_id;