Re: Some comments about GVFS
- From: Andy Wingo <wingo pobox com>
- To: gtk-devel-list gnome org
- Subject: Re: Some comments about GVFS
- Date: Thu, 10 May 2007 14:44:03 +0200
On Thu, 2007-05-10 at 09:41 +0200, Alexander Larsson wrote:
> So, if you were to implement gstreamer sinks and sources for gvfs, an
> api like:
> gssize g_input_stream_read (GInputStream *stream,
> void *buffer,
> gsize count,
> GCancellable *cancellable,
> GError **error);
> Would be ok with you? Its a blocking call, but if you pass in a
> GCancellable you can use that to cancel the call from another thread.
I pinged this off a couple of other folks and we all think it's OK. Make
sure the read never happens if the cancellable was cancelled before the
read began, of course.
> And you wouldn't be interesting in async (mainloop-using) i/o operations
> at all?
I do not see GStreamer taking advantage of this, no.
] [Thread Prev