diff --git a/src/pipeline.c b/src/pipeline.c index b7c9955..74afaf1 100644 --- a/src/pipeline.c +++ b/src/pipeline.c @@ -265,12 +265,12 @@ libmegapixels_select_mode(libmegapixels_camera *camera, libmegapixels_mode *mode } if (subdev_fmt.format.width != cmd->width || subdev_fmt.format.height != cmd->height) { - log_error("Driver rejected resolution %dx%d, changed to %dx%d\n", cmd->width, cmd->height, + log_error("Driver rejected resolution try: %dx%d, changed to %dx%d\n", cmd->width, cmd->height, subdev_fmt.format.width, subdev_fmt.format.height); break; } if (subdev_fmt.format.code != libmegapixels_format_to_media_busfmt(cmd->format)) { - log_error("Driver rejected pixfmt try: %d\n", subdev_fmt.format.code); + log_error("Driver rejected pixfmt try: 0x%x\n", subdev_fmt.format.code); break; } subdev_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; @@ -287,7 +287,7 @@ libmegapixels_select_mode(libmegapixels_camera *camera, libmegapixels_mode *mode break; } if (subdev_fmt.format.code != libmegapixels_format_to_media_busfmt(cmd->format)) { - log_error("Driver rejected pixfmt: %d\n", subdev_fmt.format.code); + log_error("Driver rejected pixfmt: 0x%x\n", subdev_fmt.format.code); break; } break;