GstDiskSrc

Name

GstDiskSrc -- Asynchronous read from a file (disksrc)

Synopsis


#include <gst/gst.h>


enum        GstDiskSrcFlags;

Object Hierarchy


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

Args


  "location"             gchar*               : Read / Write
  "bytesperread"         gint                 : Read / Write
  "offset"               glong                : Read / Write
  "filesize"             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" (gchar* : 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.

"filesize" (glong : Read)