[gstreamer-bugs] [Bug 529300] [giosink] [PATCH] Allow overwrite

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 6 14:40:26 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:

  GStreamer | gst-plugins-base | Ver: HEAD CVS

Jonathan Matthew changed:

           What    |Removed                     |Added
                 CC|                            |notverysmart at gmail.com

------- Comment #4 from Jonathan Matthew  2008-12-06 22:40 UTC -------
The approach I took in rhythmbox was to create the output stream myself and use
a giostreamsink, rather than letting giosink do it.  This way, if g_file_create
returns a G_IO_ERROR_EXISTS error, we can ask the user if they want to
overwrite and then use g_file_replace to create the stream.  Once this is all
done, we set the 'stream' property on the sink element.  This all takes place
during pipeline setup, so there's no need for communication between app and
streaming threads.

See the attach_output_pipeline function here:

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=529300.

More information about the gstreamer-bugs mailing list