gstreamer/tests/check/libs
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
..
.gitignore Update .gitignore 2015-04-23 15:42:29 +01:00
allocators.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
audio.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
audiocdsrc.c Fix FSF address 2012-11-03 23:05:09 +00:00
audiodecoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
audioencoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
baseaudiovisualizer.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
discoverer.c discoverer: Add serialization methods. 2015-05-19 18:48:07 +02:00
fft.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
gstlibscpp.cc tests: libscpp: test RTP/RTCP buffer init macros with C++ compiler 2016-04-06 17:57:28 +01:00
libsabi.c tests: fix cpp directives 2015-06-22 16:53:06 +02:00
mikey.c mikey: make message and payload mini-objects 2014-07-02 15:44:12 +02:00
navigation.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
pbutils.c tests: pbutils: more checking of returned description strings 2015-02-27 14:30:01 +00:00
profile.c encoding-profile: add gst_encoding_profile_get_file_extension() 2012-12-23 15:26:59 +00:00
rtp.c test: fix indentation 2016-03-30 22:41:54 +01:00
rtpbasedepayload.c rtpbasedepayload: look at ssrc before sequence numbers 2016-04-03 11:49:16 +03:00
rtpbasepayload.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
rtsp.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
rtspconnection.c rtspconnection: Add support for parsing custom headers 2015-11-18 00:15:32 +00:00
sdp.c sdp: add helper fuctions from/to sdp from/to caps 2015-12-31 17:11:57 +02:00
struct_arm.h gst-libs: Remove interfaces libs and mixer/tuner interfaces 2012-04-13 13:14:13 +02:00
struct_i386.h tests: update libs ABI check GstRTSPTimeRange structure size on i386 2013-03-07 10:49:30 +00:00
struct_i386_osx.h gst-libs: Remove interfaces libs and mixer/tuner interfaces 2012-04-13 13:14:13 +02:00
struct_ppc32.h tests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32 2014-10-24 13:04:07 +01:00
struct_ppc64.h tests: add PPC64 abi struct sizes 2015-06-22 16:00:15 +02:00
struct_x86_64.h check: update for larger struct 2012-11-20 11:13:01 +01:00
tag.c exiftag: Increase serialized geo precision 2016-06-13 09:29:52 +03:00
video.c video-color: Fix colorimetry IS_UNKNOWN 2016-06-02 17:14:50 +01:00
videodecoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
videoencoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
xmpwriter.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00