configure.ac: Bump requirements to GStreamer CVS for the new error enum.

Original commit message from CVS:
* configure.ac:
Bump requirements to GStreamer CVS for the new error enum.
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_render):
Emit new GST_RESOURCE_ERROR_NO_SPACE_LEFT when there's no
space left on the device (fixes #333352).
This commit is contained in:
Tim-Philipp Müller 2006-03-04 14:35:10 +00:00
parent d0029d27c1
commit 68a8e52d3b
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
Bump requirements to GStreamer CVS for the new error enum.
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_render):
Emit new GST_RESOURCE_ERROR_NO_SPACE_LEFT when there's no
space left on the device (fixes #333352).
2006-03-04 Sebastien Moutte <sebastien@moutte.net> 2006-03-04 Sebastien Moutte <sebastien@moutte.net>
* win32/vs6: * win32/vs6:

View file

@ -43,7 +43,7 @@ AS_LIBTOOL_TAGS
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff *** dnl *** required versions of GStreamer stuff ***
GST_REQ=0.10.2.2 GST_REQ=0.10.3.1
dnl *** autotools stuff **** dnl *** autotools stuff ****

View file

@ -552,8 +552,11 @@ gst_gnome_vfs_sink_render (GstBaseSink * basesink, GstBuffer * buf)
case GNOME_VFS_ERROR_NO_SPACE:{ case GNOME_VFS_ERROR_NO_SPACE:{
/* TODO: emit signal/send msg on out-of-diskspace and /* TODO: emit signal/send msg on out-of-diskspace and
* handle this gracefully (see open bug) (tpm) */ * handle this gracefully (see open bug) (tpm) */
GST_ELEMENT_ERROR (sink, RESOURCE, NO_SPACE_LEFT, (NULL),
("bufsize=%u, written=%u", GST_BUFFER_SIZE (buf), (guint) written));
ret = GST_FLOW_ERROR;
break;
} }
/* fall-through */
default:{ default:{
gchar *filename = gnome_vfs_uri_to_string (sink->uri, gchar *filename = gnome_vfs_uri_to_string (sink->uri,
GNOME_VFS_URI_HIDE_PASSWORD); GNOME_VFS_URI_HIDE_PASSWORD);