ext/gnomevfs/gstgnomevfssink.c: Bail out if no filename was given.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Bail out if no filename was given.
This commit is contained in:
Ronald S. Bultje 2004-04-10 13:07:31 +00:00
parent d4072e083c
commit f711e918b4
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-04-10 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Bail out if no filename was given.
2004-04-10 Ronald Bultje <rbultje@ronald.bitfreak.net>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),

View file

@ -348,6 +348,7 @@ gst_gnomevfssink_open_file (GstGnomeVFSSink * sink)
sink->own_handle = TRUE;
} else if (!sink->handle) {
GST_ELEMENT_ERROR (sink, RESOURCE, FAILED, (_("No filename given")), NULL);
return FALSE;
}
GST_FLAG_SET (sink, GST_GNOMEVFSSINK_OPEN);