diff --git a/sys/pylon/gstpylonsrc.c b/sys/pylon/gstpylonsrc.c index 338c211..c894fed 100644 --- a/sys/pylon/gstpylonsrc.c +++ b/sys/pylon/gstpylonsrc.c @@ -4190,13 +4190,13 @@ gst_pylonsrc_create (GstPushSrc * psrc, GstBuffer ** buf) if (grabResult.Status != Grabbed) { src->failedFrames += 1; GST_WARNING_OBJECT (src, - "Failed capture count=%d. Status=%d, ErrorCode=%d", src->failedFrames, + "Failed capture count=%d. Status=%d, ErrorCode=0x%.8X", src->failedFrames, grabResult.Status, grabResult.ErrorCode); } else src->failedFrames = 0; } else { GST_ERROR_OBJECT (src, - "Error in the image processing loop. Status=%d, ErrorCode=%d", + "Error in the image processing loop. Status=%d, ErrorCode=0x%.8X", grabResult.Status, grabResult.ErrorCode); goto error; }