Re: Some comments about GVFS



(short reply here, so you can continue your interesting discussion,
I'll answer in more detail when I'm back from UDS)

On 5/8/07, Alexander Larsson <alexl redhat com> wrote:
On Tue, 2007-05-08 at 03:33 -0500, Hans Petter Jansson wrote:

I know Benjamin mentioned multiple contexts was needed for gstreamer
integration. It would be nice to hear some details about this

GStreamer runs the pipeline in seperate threads. While reads are
typically scheduled from just one thread, any thread could potentially
initiate actions on the stream. An example would be seeking: seek
events are dispatched from the thread doing the seek - this could be
the main thread for a user event or any other thread if a downstream
element needs to seek. So the event would cancel the read operation
and do the seek. This would wake up the read thread noticing it was
interrupted and reschedule the read.

Benjamin



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