Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjust GPS leap seconds.

  • Loading branch information...
commit b5718743b36447213abb005401ac9df8e24e652c 1 parent 7aea313
@daniel-kristjansson daniel-kristjansson authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 mythtv/libs/libmythtv/mpeg/mpegtables.h
View
8 mythtv/libs/libmythtv/mpeg/mpegtables.h
@@ -27,8 +27,12 @@
*/
#define GPS_EPOCH 315964800
-/** Leap seconds as of Jan 1st, 2006. */
-#define GPS_LEAP_SECONDS 14
+/** Leap seconds as of June 30th, 2012. */
+#define GPS_LEAP_SECONDS 16
+// Note: You can optain this number by adding one
+// for every leap second added to UTC since Jan 6th, 1980
+// and subtracting one for every leap second removed.
+// See http://en.wikipedia.org/wiki/Leap_second
/** \class PESStreamID
Please sign in to comment.
Something went wrong with that request. Please try again.