configure.ac: Bump requirements to GStreamer CVS for the new error enum.
authorTim-Philipp Müller <tim@centricular.net>
Sat, 4 Mar 2006 14:35:10 +0000 (14:35 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 4 Mar 2006 14:35:10 +0000 (14:35 +0000)
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).

ChangeLog
configure.ac
ext/gnomevfs/gstgnomevfssink.c

index dc879aa..c5efdd0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * win32/vs6:
index 0cd0325..7bfeb1b 100644 (file)
@@ -43,7 +43,7 @@ AS_LIBTOOL_TAGS
 AM_PROG_LIBTOOL
 
 dnl *** required versions of GStreamer stuff ***
-GST_REQ=0.10.2.2
+GST_REQ=0.10.3.1
 
 dnl *** autotools stuff ****
 
index 2d1b024..9e2bb55 100644 (file)
@@ -552,8 +552,11 @@ gst_gnome_vfs_sink_render (GstBaseSink * basesink, GstBuffer * buf)
     case GNOME_VFS_ERROR_NO_SPACE:{
       /* TODO: emit signal/send msg on out-of-diskspace and
        * 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:{
       gchar *filename = gnome_vfs_uri_to_string (sink->uri,
           GNOME_VFS_URI_HIDE_PASSWORD);