camera: Public API functions should say "Format" not "Spec" to match audio.

This commit is contained in:
Ryan C. Gordon committed 2024-02-20 15:56:26 -05:00
1 parent f87d536229
commit 87e7046fca
8 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -284,7 +284,7 @@ int main(int argc, char **argv)
{
SDL_CameraSpec spec;
if (SDL_GetCameraSpec(device, &spec) == 0) {
if (SDL_GetCameraFormat(device, &spec) == 0) {
SDL_Log("Read spec: size=%d x %d format=%s",
spec.width, spec.height, SDL_GetPixelFormatName(spec.format));
} else {