diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h index 472110b2ab..e9877ed853 100644 --- a/gst-libs/gst/tag/tag.h +++ b/gst-libs/gst/tag/tag.h @@ -202,6 +202,15 @@ G_BEGIN_DECLS */ #define GST_TAG_CAPTURING_EXPOSURE_MODE "capturing-exposure-mode" +/** + * GST_TAG_CAPTURING_EXPOSURE_COMPENSATION: + * + * Exposure compensation using when capturing an image in EV. (double) + * + * Since: 0.10.33 + */ +#define GST_TAG_CAPTURING_EXPOSURE_COMPENSATION "capturing-exposure-compensation" + /** * GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE: * diff --git a/gst-libs/gst/tag/tags.c b/gst-libs/gst/tag/tags.c index 9521821117..a8e867c0e0 100644 --- a/gst-libs/gst/tag/tags.c +++ b/gst-libs/gst/tag/tags.c @@ -133,6 +133,10 @@ gst_tag_register_tags_internal (gpointer unused) G_TYPE_STRING, _("capturing exposure mode"), _("The exposure mode used when capturing an image"), NULL); + gst_tag_register (GST_TAG_CAPTURING_EXPOSURE_COMPENSATION, GST_TAG_FLAG_META, + G_TYPE_DOUBLE, _("capturing exposure compensation"), + _("The exposure compensation used when capturing an image"), NULL); + gst_tag_register (GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE, GST_TAG_FLAG_META, G_TYPE_STRING, _("capturing scene capture type"), _("The scene capture mode used when capturing an image"), NULL);