gnomevfssink

gnomevfssink — Write a stream to a GnomeVFS URI

Synopsis




            GstGnomeVFSSink;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstGnomeVFSSink

Implemented Interfaces

GstGnomeVFSSink implements GstURIHandler.

Properties


  "handle"               GnomeVFSHandle        : Read / Write
  "location"             gchararray            : Read / Write
  "uri"                  GnomeVFSURI           : Read / Write

Signal Prototypes


"allow-overwrite"
            gboolean    user_function      (GstGnomeVFSSink *uri,
                                            GnomeVFSURI *Returns,
                                            gpointer user_data);

Description

Element Information

plugin gnomevfs
authorBastien Nocera <hadess@hadess.net>
classSink/File

Details

GstGnomeVFSSink

typedef struct _GstGnomeVFSSink GstGnomeVFSSink;

Opaque data structure.

Properties

The "handle" property

  "handle"               GnomeVFSHandle        : Read / Write

Handle for GnomeVFS.


The "location" property

  "location"             gchararray            : Read / Write

Location of the file to write.

Default value: NULL


The "uri" property

  "uri"                  GnomeVFSURI           : Read / Write

URI for GnomeVFS.

Signals

The "allow-overwrite" signal

gboolean    user_function                  (GstGnomeVFSSink *uri,
                                            GnomeVFSURI *Returns,
                                            gpointer user_data);

This signal is fired when gnomevfssink is about to overwrite an existing resource. The application can connect to this signal and ask the user if the resource may be overwritten.

sink : the object which received the signal
uri : the URI to be overwritten
user_data :user data set when the signal handler was connected.
Returns : A boolean indicating that the resource may be overwritten.