Signed-off-by: André Roth <neolynx@xxxxxxxxx> --- lib/libdvbv5/descriptors/eit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/libdvbv5/descriptors/eit.c b/lib/libdvbv5/descriptors/eit.c index d13b14c..e70cf3b 100644 --- a/lib/libdvbv5/descriptors/eit.c +++ b/lib/libdvbv5/descriptors/eit.c @@ -155,9 +155,8 @@ void dvb_time(const uint8_t data[5], struct tm *tm) tm->tm_mday = day; tm->tm_mon = month - 1; tm->tm_year = year; - tm->tm_isdst = -1; - tm->tm_wday = 0; - tm->tm_yday = 0; + tm->tm_isdst = 1; // dst in effect, do not adjust + mktime( tm ); } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html