tag: Adds GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR

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
This commit is contained in:
Thiago Santos 2010-09-23 10:08:05 -03:00
parent 5550136fb2
commit 7e1d9c8c0d
3 changed files with 14 additions and 0 deletions

View file

@ -2238,6 +2238,7 @@ GST_TAG_GEO_LOCATION_ELEVATION
GST_TAG_GEO_LOCATION_CITY GST_TAG_GEO_LOCATION_CITY
GST_TAG_GEO_LOCATION_COUNTRY GST_TAG_GEO_LOCATION_COUNTRY
GST_TAG_GEO_LOCATION_SUBLOCATION GST_TAG_GEO_LOCATION_SUBLOCATION
GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
GST_TAG_GEO_LOCATION_MOVEMENT_SPEED GST_TAG_GEO_LOCATION_MOVEMENT_SPEED
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION

View file

@ -298,6 +298,10 @@ _gst_tag_initialize (void)
G_TYPE_STRING, _("geo location sublocation"), G_TYPE_STRING, _("geo location sublocation"),
_("a location whithin a city where the media has been produced " _("a location whithin a city where the media has been produced "
"or created (e.g. the neighborhood)"), NULL); "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, gst_tag_register (GST_TAG_GEO_LOCATION_MOVEMENT_SPEED, GST_TAG_FLAG_META,
G_TYPE_DOUBLE, _("geo location movement speed"), G_TYPE_DOUBLE, _("geo location movement speed"),
_("movement speed of the capturing device while performing the capture " _("movement speed of the capturing device while performing the capture "

View file

@ -842,6 +842,15 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
* Since: 0.10.29 * Since: 0.10.29
*/ */
#define GST_TAG_GEO_LOCATION_SUBLOCATION "geo-location-sublocation" #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: * GST_TAG_GEO_LOCATION_MOVEMENT_SPEED:
* *