mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
d4072e083c
commit
f711e918b4
2 changed files with 6 additions and 0 deletions
|
@ -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),
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue