Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "dvb_support: change GPS UTC offset to one less"
This reverts commit b9a666e.

It doesn't seem to be needed based on real broadcasts.
  • Loading branch information
laurimyllari authored and perexg committed Oct 22, 2015
1 parent 40a2738 commit b956fb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/input/mpegts/dvb_support.c
Expand Up @@ -534,9 +534,8 @@ atsc_convert_gpstime(uint32_t gpstime)

for (i = (sizeof(_gps_leap_seconds)/sizeof(time_t)) - 1; i >= 0; i--) {
if (out > _gps_leap_seconds[i]) {
// offset should be i+1, but sample STTs don't agree?
tvhdebug("gpstime", "leap seconds: %d", i);
out -= i;
tvhwarn("gpstime", "leap seconds: %d", i+1);
out -= i+1;
break;
}
}
Expand Down

0 comments on commit b956fb5

Please sign in to comment.