diff options
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c index 16fa23e..68f305c 100644 --- a/src/writer.c +++ b/src/writer.c @@ -151,7 +151,7 @@ static int check_boundaries(writer_t* writer) if(tmp >= boundary) { struct tm now_bd; localtime_r(&(now.tv_sec), &now_bd); - log_printf(INFO, "boundary reached! it's now: %02d:%02d:%02d.%06d on %d.%d.%d (%d ms offset)", now_bd.tm_hour, now_bd.tm_min, now_bd.tm_sec, now.tv_nsec/1000, now_bd.tm_mday, now_bd.tm_mon+1, now_bd.tm_year+1900, GST_TIME_AS_MSECONDS(writer->offset_)); + log_printf(INFO, "boundary reached! it's now: %02d:%02d:%02d.%06d on %d.%d.%d%s (%d ms offset)", now_bd.tm_hour, now_bd.tm_min, now_bd.tm_sec, now.tv_nsec/1000, now_bd.tm_mday, now_bd.tm_mon+1, now_bd.tm_year+1900, now_bd.tm_isdst > 0 ? " (DST)": "", GST_TIME_AS_MSECONDS(writer->offset_)); int ret = open_file(writer->next_); if(ret) return ret; // TODO: stop writer on open_file error ??? |