ext/gio/gstgiosink.c: Update to API changes in GIO.

Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
Update to API changes in GIO.
This commit is contained in:
Sebastian Dröge 2007-10-02 07:43:57 +00:00
parent 767366a1e1
commit d89fc173d6

View file

@ -203,7 +203,8 @@ gst_gio_sink_start (GstBaseSink * base_sink)
return FALSE; 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); success = (sink->stream != NULL);
if (!success && !gst_gio_error (sink, "g_file_create", &err, NULL)) { if (!success && !gst_gio_error (sink, "g_file_create", &err, NULL)) {