summaryrefslogtreecommitdiffstats
path: root/ext/gio/gstgiosink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gio/gstgiosink.c')
-rw-r--r--ext/gio/gstgiosink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/gio/gstgiosink.c b/ext/gio/gstgiosink.c
index 2d9677b9..a676ea6a 100644
--- a/ext/gio/gstgiosink.c
+++ b/ext/gio/gstgiosink.c
@@ -203,7 +203,8 @@ gst_gio_sink_start (GstBaseSink * base_sink)
return FALSE;
}
- sink->stream = g_file_create (sink->file, sink->cancel, &err);
+ sink->stream =
+ g_file_create (sink->file, G_FILE_CREATE_FLAGS_NONE, sink->cancel, &err);
success = (sink->stream != NULL);
if (!success && !gst_gio_error (sink, "g_file_create", &err, NULL)) {