diff options
author | Christian Pointner <equinox@helsinki.at> | 2011-04-15 14:34:53 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2011-04-15 14:34:53 (GMT) |
commit | 5f89bdd315f29b4a58612b39d30ca2c32c136b36 (patch) | |
tree | 28a8fa2edb817c9406301a875103a419b2e5447a /src/writer.h | |
parent | 9fdfadf40d3be2f98376556622486c79dfdb809a (diff) |
time boundary calculations added
Diffstat (limited to 'src/writer.h')
-rw-r--r-- | src/writer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/writer.h b/src/writer.h index 38df718..4619d95 100644 --- a/src/writer.h +++ b/src/writer.h @@ -29,6 +29,13 @@ #define RHARCHIVE_writer_h_INCLUDED #include <gst/gst.h> +#include <time.h> + +struct file_struct { + int fd_; + char name_[100]; +}; +typedef struct file_struct file_t; struct writer_struct { GstElement* sink_; @@ -39,6 +46,9 @@ struct writer_struct { const char* output_dir_; GstClockTime interval_; GstClockTime offset_; + file_t current_; + file_t next_; + struct timespec next_boundary_; }; typedef struct writer_struct writer_t; |