tag: Adds GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Sep 2010 13:08:05 +0000 (10:08 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Sep 2010 13:37:06 +0000 (10:37 -0300)
Adds a new tag to indicate the error in horizontal positioning
in meters. This is one of the available 'gps error' fields in
exif, for example.

API: GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR

docs/gst/gstreamer-sections.txt
gst/gsttaglist.c
gst/gsttaglist.h

index 75acea5..9cadb0d 100644 (file)
@@ -2238,6 +2238,7 @@ GST_TAG_GEO_LOCATION_ELEVATION
 GST_TAG_GEO_LOCATION_CITY
 GST_TAG_GEO_LOCATION_COUNTRY
 GST_TAG_GEO_LOCATION_SUBLOCATION
+GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR
 GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
 GST_TAG_GEO_LOCATION_MOVEMENT_SPEED
 GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
index 8ec69e6..fa16480 100644 (file)
@@ -298,6 +298,10 @@ _gst_tag_initialize (void)
       G_TYPE_STRING, _("geo location sublocation"),
       _("a location whithin a city where the media has been produced "
           "or created (e.g. the neighborhood)"), NULL);
+  gst_tag_register (GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR, GST_TAG_FLAG_META,
+      G_TYPE_DOUBLE, _("geo location horizontal error"),
+      _("expected error of the horizontal positioning measures (in meters)"),
+      NULL);
   gst_tag_register (GST_TAG_GEO_LOCATION_MOVEMENT_SPEED, GST_TAG_FLAG_META,
       G_TYPE_DOUBLE, _("geo location movement speed"),
       _("movement speed of the capturing device while performing the capture "
index 19ea349..c05aeb1 100644 (file)
@@ -843,6 +843,15 @@ gboolean     gst_tag_list_get_buffer_index  (const GstTagList * list,
  */
 #define GST_TAG_GEO_LOCATION_SUBLOCATION             "geo-location-sublocation"
 /**
+ * GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR:
+ *
+ * Represents the expected error on the horizontal positioning in
+ * meters (double).
+ *
+ * Since: 0.10.31
+ */
+#define GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR   "geo-location-horizontal-error"
+/**
  * GST_TAG_GEO_LOCATION_MOVEMENT_SPEED:
  *
  * Speed of the capturing device when performing the capture.