mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
5550136fb2
commit
7e1d9c8c0d
3 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -842,6 +842,15 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
|
|||
* Since: 0.10.29
|
||||
*/
|
||||
#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:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue