summaryrefslogtreecommitdiff
path: root/gst-libs/gst/tag/tag.h
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-08-20 14:54:23 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-08-24 22:20:40 -0300
commit421e1e05ffaa2ef8787c7ef831e4e60e0aec33ad (patch)
treea5d7ba0e60dc786f7e592fe7de6b9d5c6a5d4d33 /gst-libs/gst/tag/tag.h
parent5596c965fdf0538453375e6fceb8b5d119ad38b4 (diff)
tag: Adds GST_TAG_CAPTURE_FLASH_FIRED/_MODE
Adds a new tag for informing if flash was used while capturing an image and the flash mode selected by the user during this capture API: GST_TAG_CAPTURING_FLASH_FIRED API: GST_TAG_CAPTURING_FLASH_MODE https://bugzilla.gnome.org/show_bug.cgi?id=626651
Diffstat (limited to 'gst-libs/gst/tag/tag.h')
-rw-r--r--gst-libs/gst/tag/tag.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h
index 08a024aee..17fac20be 100644
--- a/gst-libs/gst/tag/tag.h
+++ b/gst-libs/gst/tag/tag.h
@@ -280,6 +280,31 @@ G_BEGIN_DECLS
*/
#define GST_TAG_CAPTURING_SATURATION "capturing-saturation"
+/**
+ * GST_TAG_CAPTURING_FLASH_FIRED:
+ *
+ * If flash was fired during the capture of an image. (boolean)
+ *
+ * Note that if this tag isn't present, it should not be assumed that
+ * the flash did not fire. It should be treated as unknown.
+ *
+ * Since: 0.10.31
+ */
+#define GST_TAG_CAPTURING_FLASH_FIRED "capturing-flash-fired"
+
+/**
+ * GST_TAG_CAPTURING_FLASH_MODE:
+ *
+ * The flash mode selected during the capture of an image. (string)
+ *
+ * The allowed values are:
+ * "auto"
+ * "always"
+ * "never"
+ *
+ * Since: 0.10.31
+ */
+#define GST_TAG_CAPTURING_FLASH_MODE "capturing-flash-mode"
/* additional information for image tags */