diff options
Diffstat (limited to 'src/writer.h')
-rw-r--r-- | src/writer.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/writer.h b/src/writer.h index 93eff85..e732b28 100644 --- a/src/writer.h +++ b/src/writer.h @@ -33,12 +33,7 @@ #include <time.h> #include <sys/types.h> -struct file_struct { - int fd_; - char* path_; - mode_t mode_; -}; -typedef struct file_struct file_t; +#include "file_list.h" struct writer_struct { GMainLoop *loop_; @@ -51,9 +46,9 @@ struct writer_struct { mode_t mode_; GstClockTime interval_; GstClockTime offset_; - file_t old_; - file_t current_; - file_t next_; + file_list_t files_; + file_t* current_; + file_t* next_; struct timespec next_boundary_; }; typedef struct writer_struct writer_t; |