GstDiskSrc

Name

GstDiskSrc -- Asynchronous read from a file (disksrc)

Synopsis


#include <gst/gst.h>


enum        GstDiskSrcFlags;

Object Hierarchy


  GtkObject
   +----GstObject
         +----GstElement
               +----GstDiskSrc

Args


  "location"             GstFilename          : Read / Write
  "bytesperread"         gint                 : Read / Write
  "offset"               glong                : Read / Write
  "size"                 glong                : Read

Description

Asynchonously read buffers from a file.

Details

enum GstDiskSrcFlags

typedef enum {
  GST_DISKSRC_OPEN		= GST_ELEMENT_FLAG_LAST,

  GST_DISKSRC_FLAG_LAST	= GST_ELEMENT_FLAG_LAST + 2,
} GstDiskSrcFlags;

GST_DISKSRC_OPENthe disksrc is open for reading

Args

"location" (GstFilename : Read / Write)

Specify the location of the file to read.

"bytesperread" (gint : Read / Write)

Specify how many bytes to read at a time.

"offset" (glong : Read / Write)

Get/set the current offset in the file.

"size" (glong : Read)

Get the size of the file.