ahc: enable autofocus callback

It should be enabled to set autofocus properly, but
it seems to be commented out mistakenly from the first commit.

https://bugzilla.gnome.org/show_bug.cgi?id=790945
This commit is contained in:
Justin Kim 2017-12-13 13:43:30 +09:00 committed by Tim-Philipp Müller
parent 2b03bc021c
commit 297f7e4f04

View file

@ -304,9 +304,9 @@ static JNINativeMethod native_methods[] = {
{(gchar *) "gst_ah_camera_on_error", {(gchar *) "gst_ah_camera_on_error",
(gchar *) "(ILandroid/hardware/Camera;JJ)V", (gchar *) "(ILandroid/hardware/Camera;JJ)V",
(void *) gst_ah_camera_on_error}, (void *) gst_ah_camera_on_error},
// {(gchar *) "gst_ah_camera_on_auto_focus", {(gchar *) "gst_ah_camera_on_auto_focus",
// (gchar *) "(ZLandroid/hardware/Camera;JJ)V", (gchar *) "(ZLandroid/hardware/Camera;JJ)V",
// (void *) gst_ah_camera_on_auto_focus} (void *) gst_ah_camera_on_auto_focus}
}; };
static gboolean static gboolean