From 03a47eb66f26b86a97f80ad164b269caca7d8115 Mon Sep 17 00:00:00 2001
From: Martin Kelly <martin@surround.io>
Date: Wed, 18 May 2016 12:46:09 -0700
Subject: [PATCH] ahc: add error logging statement

---
 sys/androidmedia/gst-android-hardware-camera.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/androidmedia/gst-android-hardware-camera.c b/sys/androidmedia/gst-android-hardware-camera.c
index 6b32ed5..e399713 100644
--- a/sys/androidmedia/gst-android-hardware-camera.c
+++ b/sys/androidmedia/gst-android-hardware-camera.c
@@ -2295,7 +2295,8 @@ gst_ah_camera_get_parameters (GstAHCamera * self)
       g_slice_free (GstAHCParameters, params);
       return NULL;
     }
-  }
+  } else
+    GST_ERROR ("android.hardware.Camera.getParameters returned NULL");
 
   GST_DEBUG ("return parameters %p", params->object);
 
-- 
2.1.4

