diff options
author | David King <amigadave@amigadave.com> | 2020-09-21 09:56:44 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2020-09-21 10:04:08 +0100 |
commit | 054c14aa6c97a99511b95f628984701ff2a45117 (patch) | |
tree | bbf6f7400a4b9717dc1b1188210aa258def7717f | |
parent | 5587daca748e9010f59250c5dcb8e8ea42266685 (diff) | |
download | cheese-054c14aa6c97a99511b95f628984701ff2a45117.tar.gz |
Add documentation for new API
Add gtk-doc documentation for
cheese_camera_device_supported_format_caps().
-rw-r--r-- | docs/reference/cheese-sections.txt | 1 | ||||
-rw-r--r-- | libcheese/cheese-camera-device.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/reference/cheese-sections.txt b/docs/reference/cheese-sections.txt index 9dd5a480..842d2de2 100644 --- a/docs/reference/cheese-sections.txt +++ b/docs/reference/cheese-sections.txt @@ -98,6 +98,7 @@ cheese_camera_device_get_best_format cheese_camera_device_get_caps_for_format cheese_camera_device_get_format_list cheese_camera_device_get_src +cheese_camera_device_supported_format_caps <SUBSECTION Private> CheeseCameraDevicePrivate CheeseCameraDeviceClass diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c index c6cc39ef..6d91bd9e 100644 --- a/libcheese/cheese-camera-device.c +++ b/libcheese/cheese-camera-device.c @@ -947,6 +947,13 @@ cheese_camera_device_get_caps_for_format (CheeseCameraDevice *device, return result_caps; } +/** + * cheese_camera_device_supported_format_caps: + * + * Get the #GstCaps that are supported for all #CheeseCameraDevice + * + * Returns: (transfer full): the #GstCaps + */ GstCaps * cheese_camera_device_supported_format_caps (void) { |