summaryrefslogtreecommitdiff
path: root/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'camera.h')
-rw-r--r--camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera.h b/camera.h
index 4888729..5fe1c4d 100644
--- a/camera.h
+++ b/camera.h
@@ -103,8 +103,8 @@ PictureFormat camera_closest_resolution(Camera *camera, uint32_t pixfmt, int32_t
int32_t camera_frame_width(Camera *camera);
int32_t camera_frame_height(Camera *camera);
PictureFormat camera_picture_format(Camera *camera);
-void camera_save_jpg(Camera *camera, const char *path, int quality);
-void camera_save_png(Camera *camera, const char *path);
+bool camera_save_jpg(Camera *camera, const char *path, int quality);
+bool camera_save_png(Camera *camera, const char *path);
bool camera_next_frame(Camera *camera);
void camera_update_gl_textures(Camera *camera, const GLuint textures[3]);
const char *camera_name(Camera *camera);