fdsink

fdsink — write to a unix file descriptor

Synopsis




                    GstFdSink;


Properties


  "fd"                       gint                  : Read / Write

Description

Write data to a unix file descriptor.

This element will sycnhronize on the clock before writing the data on the socket. For file descriptors where this does not make sense (files, ...) the ::sync property can be used to disable synchronisation.

Last reviewed on 2006-04-28 (0.10.6)

Element Information

plugin coreelements
author Erik Walthinsen <omega@cse.ogi.edu>
class Sink/File

Element Pads

name sink
direction sink
presence always
details ANY

Details

GstFdSink

typedef struct {
  GstBaseSink parent;

  gchar *uri;

  gint control_sock[2];

  int fd;
  guint64 bytes_written;
} GstFdSink;

Property Details

The "fd" property

  "fd"                       gint                  : Read / Write

An open file descriptor to write to.

Allowed values: >= 0

Default value: 1

See Also

GstFdSrc