Re: Some comments about GVFS

Hi Alex,

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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]