gstreamer/gst-libs/gst/tag
Paulo Neves 5dd720e064 exiftag: Increase serialized geo precision
The serialization of double typed geographical
coordinates to DMS system supported by the exif
standards was previously truncated without need.

The previous code truncated the seconds part of
the coordinate to a fraction with denominator
equal to 1 causing a bug on the deserialization
when the test for the coordinate to be serialized
was more precise.

This patch applies a 10E6 multiplier to the numerator
equal to the denominator of the rational number.

Eg. Latitude = 89.5688643 Serialization

DMS Old code = 89/1 deg, 34/1 min, 7/1 sec
DMS New code = 89/1 deg, 34/1 min, 79114800UL/10000000UL

Deserialization

DMS Old code = 89.5686111111
DMS New code = 89.5688643

The new test tries to serialize a higher precision
coordinate.

The types of the coordinates are also guint32 instead
of gint like previously. guint32 is the type of the
fraction components in the exif.

https://bugzilla.gnome.org/show_bug.cgi?id=767537
2016-06-13 09:29:52 +03:00
..
gstexiftag.c exiftag: Increase serialized geo precision 2016-06-13 09:29:52 +03:00
gstid3tag.c tag: id3v2: read conductor tag 2016-02-22 21:16:54 +00:00
gsttagdemux.c tagdemux: preserve timestamp when skipping a tag at the beginning of a buffer 2016-06-04 12:40:24 +01:00
gsttagdemux.h base: Add g_autoptr() support to all types 2015-12-14 13:39:43 -05:00
gsttageditingprivate.c Fix FSF address 2012-11-03 23:05:09 +00:00
gsttageditingprivate.h Fix FSF address 2012-11-03 23:05:09 +00:00
gsttagmux.c tagmux: fix criticals when there are no tags at all 2014-11-28 13:18:38 +00:00
gsttagmux.h base: Add g_autoptr() support to all types 2015-12-14 13:39:43 -05:00
gstvorbistag.c vorbistag: Read image-type from the GstSample info struct 2013-12-16 11:35:12 +01:00
gstxmptag.c xmptag: fix invalid reads in GST_DEBUG statement 2015-04-24 17:32:51 +01:00
id3v2.3.0.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.4.0-frames.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.4.0-structure.txt various: typo fixes 2011-12-02 12:03:27 +01:00
id3v2.c tags: id3: make sure to register private-id3v2-frame tag before using it 2015-11-20 19:15:22 +00:00
id3v2.h Fix FSF address 2012-11-03 23:05:09 +00:00
id3v2frames.c id3v2frames: Handle private frames 2015-11-20 20:20:18 +00:00
lang-tables.dat 0.10.28.2 pre-release 2010-04-14 15:35:06 +01:00
lang.c Fix FSF address 2012-11-03 23:05:09 +00:00
license-translations.dict tag: add convenience API to handle creative commons licenses 2011-08-10 10:33:47 +01:00
licenses-tables.dat tag: add convenience API to handle creative commons licenses 2011-08-10 10:33:47 +01:00
licenses.c Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
mklangtables.c Fix FSF address 2012-11-03 23:05:09 +00:00
mklicensestables.c gstreamer: base: Fix memory leaks when context parse fails. 2015-10-02 17:26:27 +03:00
tag.h tag: add GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM tag 2016-04-28 12:13:15 -03:00
tags.c tag: add GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM tag 2016-04-28 12:13:15 -03:00
xmpwriter.c Fix FSF address 2012-11-03 23:05:09 +00:00
xmpwriter.h libs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST 2014-06-26 16:18:46 +02:00