From f0e7d6ec0bb316208b2a464744269a5631a35854 Mon Sep 17 00:00:00 2001 From: "Joshua M. Doe" Date: Mon, 3 Jun 2013 15:38:31 -0400 Subject: [PATCH] niimaq: more specific debugging messages --- sys/niimaq/gstniimaq.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/niimaq/gstniimaq.c b/sys/niimaq/gstniimaq.c index ac06e44..0a5936d 100644 --- a/sys/niimaq/gstniimaq.c +++ b/sys/niimaq/gstniimaq.c @@ -93,12 +93,12 @@ static GstFlowReturn gst_niimaqsrc_create (GstPushSrc * psrc, static GstCaps *gst_niimaqsrc_get_cam_caps (GstNiImaqSrc * src); static gboolean gst_niimaqsrc_close_interface (GstNiImaqSrc * src); -#define gst_niimaqsrc_report_imaq_error(code) \ -{ \ - static char imaq_error_string[256]; \ - if (code) { \ - imgShowError (code, imaq_error_string); \ - GST_ERROR ("IMAQ error: %s", imaq_error_string); \ +#define gst_niimaqsrc_report_imaq_error(code) \ +{ \ + static char imaq_error_string[256]; \ + if (code) { \ + imgShowError (code, imaq_error_string); \ + GST_ERROR_OBJECT (src, "IMAQ error: %s", imaq_error_string); \ } \ }