diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h index 48631d3559..7ca444fa6b 100644 --- a/gst-libs/gst/tag/tag.h +++ b/gst-libs/gst/tag/tag.h @@ -151,6 +151,15 @@ G_BEGIN_DECLS */ #define GST_TAG_CAPTURING_FOCAL_LENGTH "capturing-focal-length" +/** + * GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM: + * + * 35 mm equivalent focal length used when capturing an image, in mm. (double) + * + * Since: 1.10 + */ +#define GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM "capturing-focal-length-35mm" + /** * GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO: * diff --git a/gst-libs/gst/tag/tags.c b/gst-libs/gst/tag/tags.c index 1931d188a8..5a0214de84 100644 --- a/gst-libs/gst/tag/tags.c +++ b/gst-libs/gst/tag/tags.c @@ -118,6 +118,12 @@ gst_tag_register_tags_internal (gpointer unused) G_TYPE_DOUBLE, _("capturing focal length"), _("Focal length of the lens used capturing the image, in mm"), NULL); + gst_tag_register_static (GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM, + GST_TAG_FLAG_META, G_TYPE_DOUBLE, + _("capturing 35 mm equivalent focal length"), + _("35 mm equivalent focal length of the lens used capturing the image, " + "in mm"), NULL); + gst_tag_register_static (GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO, GST_TAG_FLAG_META, G_TYPE_DOUBLE, _("capturing digital zoom ratio"), _("Digital zoom ratio used when capturing an image"), NULL);