From 07fe52368028240c71951f3b34a1e5524688d719 Mon Sep 17 00:00:00 2001 From: "Joshua M. Doe" Date: Fri, 29 Jun 2012 04:45:47 -0400 Subject: [PATCH] niimaq: slightly better debug message for depth/bpp --- sys/niimaq/gstniimaq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/niimaq/gstniimaq.c b/sys/niimaq/gstniimaq.c index 2bf9f16..c2120a5 100644 --- a/sys/niimaq/gstniimaq.c +++ b/sys/niimaq/gstniimaq.c @@ -909,7 +909,8 @@ gst_niimaqsrc_get_cam_caps (GstNiImaqSrc * niimaqsrc) else if (depth == 16) format = GST_VIDEO_FORMAT_GRAY16_LE; else { - GST_WARNING_OBJECT (niimaqsrc, "Depth %d not supported yet", depth); + GST_ERROR_OBJECT (niimaqsrc, "Depth %d (%d-bit) not supported yet", depth, + bpp); goto error; }