niimaq: slightly better debug message for depth/bpp

This commit is contained in:
Joshua M. Doe 2012-06-29 04:45:47 -04:00
parent 9002eb1f70
commit 07fe523680

View File

@ -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;
}