diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-02-04 13:25:05 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-02-04 13:25:05 (GMT) |
commit | 5f4fceff0f892bf19a8f6176b17ea1ad2569bdf0 (patch) | |
tree | 3ba0bdfe667ffbf157a016745f7ae1aef0bd5bf8 /src/writer.h | |
parent | bfca54665d2fa4e72997ab9816b35011d756694e (diff) |
added new option --nocache which controls the usage of O_DIRECT
Diffstat (limited to 'src/writer.h')
-rw-r--r-- | src/writer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/writer.h b/src/writer.h index 8e012a9..9ee98a8 100644 --- a/src/writer.h +++ b/src/writer.h @@ -41,6 +41,7 @@ struct writer_struct { const char* name_format_; const char* output_dir_; mode_t mode_; + int nocache_; GstClockTime interval_; GstClockTime offset_; char* post_process_; @@ -51,7 +52,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, const char* output_dir, int interval, int offset, char* post_process); +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_start(writer_t* writer); void writer_stop(writer_t* writer); |