summaryrefslogtreecommitdiff
path: root/src/writer.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-18 02:20:01 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-18 02:20:01 (GMT)
commit9a74b857f449d9a2ac8cca76872a0ad69aec40f4 (patch)
treeed2b9fe70764000542af036867f5fc3234968a63 /src/writer.h
parentc83d06888770040c638f65bd4186dc79542ed7cf (diff)
moved file specific thins to file_list
Diffstat (limited to 'src/writer.h')
-rw-r--r--src/writer.h13
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;