Browse Source

Display pixelformat in the findconfig utility

Martijn Braam 7 months ago
parent
commit
ab81150c14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/findconfig.c

+ 1 - 1
util/findconfig.c

@@ -72,7 +72,7 @@ main(int argc, char *argv[])
 			}
 			}
 			libmegapixels_mode *mode = config->cameras[i]->modes[j];
 			libmegapixels_mode *mode = config->cameras[i]->modes[j];
 
 
-			printf("%dx%d@%d\n", mode->width, mode->height, mode->rate);
+			printf("%dx%d@%d [%s]\n", mode->width, mode->height, mode->rate, libmegapixels_format_name(mode->format));
 		}
 		}
 	}
 	}
 	return 0;
 	return 0;