summaryrefslogtreecommitdiff
path: root/src/writer.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-21 21:29:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-21 21:29:12 (GMT)
commitebc87c0d01c30dce1a76cde4e28d235718574d8e (patch)
treed732595eda4ecde702bd966b788499da3f7f0a10 /src/writer.c
parentd09a8f54a74d98c5d5243da385db460ee1b40e00 (diff)
fixed typo
better output at boundary reached
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c
index 6e59b66..98c3456 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -152,7 +152,7 @@ static int check_boundaries(writer_t* writer)
if(tmp >= boundary) {
struct tm now_bd;
localtime_r(&(now.tv_sec), &now_bd);
- log_printf(DEBUG, "boundary reached! it's now: %02d:%02d:%02d.%06d on %d.%d.%d", 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);
+ 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_));
int ret = open_file(writer->next_);
if(ret) return ret; // TODO: stop writer on open_file error ???