niimaqdx: show IMAQdx error code as well as string
This commit is contained in:
parent
918b48f530
commit
e9755b0b00
@ -108,7 +108,7 @@ gst_niimaqdxsrc_report_imaq_error (IMAQdxError code)
|
||||
if (code) {
|
||||
IMAQdxGetErrorString (code, imaqdx_error_string,
|
||||
IMAQDX_MAX_API_STRING_LENGTH);
|
||||
GST_ERROR ("IMAQdx error: %s", imaqdx_error_string);
|
||||
GST_ERROR ("IMAQdx error %d: %s", code, imaqdx_error_string);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user