summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/options.c2
-rw-r--r--src/writer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index 90ea6f3..823703e 100644
--- a/src/options.c
+++ b/src/options.c
@@ -295,7 +295,7 @@ void options_print_usage()
printf(" as data source, see gst-launch man-page for syntax\n");
printf(" [-d|--output-dir] <path> path to the output directory\n");
printf(" [-f|--name-format] <format> the file name format, see manpage of strftime for the syntax\n");
- printf(" [-m|--mode] <value> ocatl represantion of the file permission mode\n");
+ printf(" [-m|--mode] <value> octal representation of the file permission mode\n");
printf(" [-i|--interval] <value> interval for time checks in ms\n");
printf(" [-o|--offset] <value> time offset for recordings in ms\n");
printf(" [-x|--post-process] <script> call script when file is finished\n");
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 ???