diff options
Diffstat (limited to 'sys/androidmedia/gst-android-hardware-camera.c')
-rw-r--r-- | sys/androidmedia/gst-android-hardware-camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/androidmedia/gst-android-hardware-camera.c b/sys/androidmedia/gst-android-hardware-camera.c index 876800b70..6b32ed5ce 100644 --- a/sys/androidmedia/gst-android-hardware-camera.c +++ b/sys/androidmedia/gst-android-hardware-camera.c @@ -2498,13 +2498,13 @@ done: void gst_ah_camera_set_preview_texture (GstAHCamera * self, - GstAGSurfaceTexture * surfaceTexture) + GstAmcSurfaceTexture * surfaceTexture) { JNIEnv *env = gst_amc_jni_get_env (); GError *err = NULL; gst_amc_jni_call_void_method (env, &err, self->object, - android_hardware_camera.setPreviewTexture, surfaceTexture->object); + android_hardware_camera.setPreviewTexture, surfaceTexture->jobject); if (err) { GST_ERROR ("Failed to call android.hardware.Camera.setPreviewTexture: %s", err->message); |