[gst-devel] various questions about GStreamer elements

Thirupathiah Annapureddy writetothiru at gmail.com
Fri Jan 14 00:26:22 CET 2005


Hi Ronald,
Thanks for your reply.
> > 3. Are there any ready made queues in GStreamer so that an element can
> > use to queue buffers or etc.?
> Yes, queue. :). See
>http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter>
-threads.html
I think this queue element is inserted at the discretion of the
application only when it puts the element in a thread bin. Do you mean
to say, this queue can be created internally by the element? If so,i
can use this queue for storing the buffers to be queued to the
hardware.
If no such support exists, i am planning to do it this way. 
- create a FIFO
- when a buffer is received, add a reference to it
- add it to the FIFO
There will be a seperate GThread or Posix thread which keeps on
removing the buffers from FIFO and queue it to the hardware. Is this
OK?

Thanks in advance,
A. Thirupathi Reddy




More information about the gstreamer-devel mailing list