diff options
Diffstat (limited to 'src/writer.h')
-rw-r--r-- | src/writer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/writer.h b/src/writer.h index 79f3a3c..073f805 100644 --- a/src/writer.h +++ b/src/writer.h @@ -36,10 +36,11 @@ #include <time.h> #include <sys/types.h> +#include "rhmain.h" #include "file_list.h" struct writer_struct { - GMainLoop *loop_; + RHMainLoop *loop_; GstElement* sink_; GstClock* clock_; GstClockID clock_id_; @@ -58,7 +59,7 @@ struct writer_struct { }; typedef struct writer_struct writer_t; -int writer_init(writer_t* writer, GMainLoop *loop, const char* name_format, mode_t mode, int nocache, const char* output_dir, int interval, int offset, char* post_process); +int writer_init(writer_t* writer, RHMainLoop *loop, const char* name_format, mode_t mode, int nocache, const char* output_dir, int interval, int offset, char* post_process); int writer_start(writer_t* writer); void writer_stop(writer_t* writer); |