diff options
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; |