summaryrefslogtreecommitdiff
path: root/src/writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.h')
-rw-r--r--src/writer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/writer.h b/src/writer.h
index 8081644..7ef5c26 100644
--- a/src/writer.h
+++ b/src/writer.h
@@ -32,6 +32,7 @@
struct writer_struct {
GstElement* sink_;
+ GThread* thread_;
const char* name_format_;
const char* output_dir_;
int length_;
@@ -40,7 +41,7 @@ struct writer_struct {
typedef struct writer_struct writer_t;
int writer_init(writer_t* writer, const char* name_format, const char* output_dir, int length, int offset);
-void writer_start(writer_t* writer);
+int writer_start(writer_t* writer);
void writer_stop(writer_t* writer);
#endif