GstQueue

Name

GstQueue -- Simple asynchronous data queue.

Synopsis


#include <gst/gst.h>



Object Hierarchy


  GtkObject
   +----GstObject
         +----GstElement
               +----GstQueue

Args


  "level"                gint                 : Read
  "max_level"            gint                 : Read / Write
  "block"                gboolean             : Read / Write

Description

Simple data queue. Data is queued till max_level buffers any subsequent buffers sent to this filter will block until free space becomes available in the buffer. The queue is typically used in conjunction with a thread.

You can query how many buffers are queued with the level argument.

The default queue length is set to 10.

The queue blocks by default.

Details

Args

"level" (gint : Read)

Get the number of buffers in the queue.

"max_level" (gint : Read / Write)

Specify the maximum number of buffers in the queue before the queue blocks.

"block" (gboolean : Read / Write)

Specify wether the queue blocks or not.