[gstreamer-bugs] [Bug 309117] [filesink] non-fatal out of disk space handling

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Feb 6 02:39:54 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=309117

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #7 from Wouter Cloetens  2008-02-06 10:39 UTC -------
The previous patch did not work because GST_FLOW_RESEND doesn't work.

I have this working in a real-life scenario.

I register an out-of-space handler that
* sets the max-size property to -1 (no more limits),
* stops my mainloop,
* returns TRUE to indicate that the operation should be retried.

When the mainloop stops, in the main thread, I send an EOS signal on the bus
and restart the mainloop.

This allows me to cleanly finish processing of a stream until I reach a certain
file threshold.

The same mechanism can be used for integration with a GUI that can stop or
pause a pipeline when the system is out of disk space.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=309117.




More information about the Gstreamer-bugs mailing list