From ddebf1ff666c3d24759325cd9482c11b0a5d095c Mon Sep 17 00:00:00 2001 From: Martin Kelly Date: Thu, 18 Feb 2016 11:00:50 -0800 Subject: [PATCH] ahc: correct error message The error message is specific to only one of the failure cases and is misleading in the others. Correct it to be more generic and cover all the failure cases. https://bugzilla.gnome.org/show_bug.cgi?id=763065 --- 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 f66595a209..fd66033544 100644 --- a/sys/androidmedia/gst-android-hardware-camera.c +++ b/sys/androidmedia/gst-android-hardware-camera.c @@ -1681,7 +1681,8 @@ _init_classes (void) failed: if (err) { - GST_ERROR ("Failed to get android.hardware.Camera class: %s", err->message); + GST_ERROR ("Failed to initialize android.hardware.Camera classes: %s", + err->message); g_clear_error (&err); }