xvimagesink

xvimagesink — A Xv based videosink

Synopsis

struct              GstXvImageSink;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstVideoSink
                           +----GstXvImageSink

Implemented Interfaces

GstXvImageSink implements GstImplementsInterface, GstNavigation, GstXOverlay, GstColorBalance and GstPropertyProbe.

Properties

  "brightness"               gint                  : Read / Write
  "contrast"                 gint                  : Read / Write
  "display"                  gchar*                : Read / Write
  "hue"                      gint                  : Read / Write
  "pixel-aspect-ratio"       gchar*                : Read / Write
  "saturation"               gint                  : Read / Write
  "synchronous"              gboolean              : Read / Write
  "force-aspect-ratio"       gboolean              : Read / Write
  "device"                   gchar*                : Read / Write
  "device-name"              gchar*                : Read
  "handle-events"            gboolean              : Read / Write
  "double-buffer"            gboolean              : Read / Write
  "handle-expose"            gboolean              : Read / Write
  "autopaint-colorkey"       gboolean              : Read / Write
  "colorkey"                 gint                  : Read / Write
  "draw-borders"             gboolean              : Read / Write
  "window-height"            guint64               : Read
  "window-width"             guint64               : Read

Description

Synopsis

Element Information

plugin

xvimagesink

author

Julien Moutte <julien@moutte.net>

class

Sink/Video

Element Pads

name

sink

direction

sink

presence

always

details

video/x-raw-rgb, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]

video/x-raw-yuv, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]

Details

struct GstXvImageSink

struct GstXvImageSink;

Property Details

The "brightness" property

  "brightness"               gint                  : Read / Write

The brightness of the video.

Allowed values: [-1000,1000]

Default value: 0


The "contrast" property

  "contrast"                 gint                  : Read / Write

The contrast of the video.

Allowed values: [-1000,1000]

Default value: 0


The "display" property

  "display"                  gchar*                : Read / Write

X Display name.

Default value: NULL


The "hue" property

  "hue"                      gint                  : Read / Write

The hue of the video.

Allowed values: [-1000,1000]

Default value: 0


The "pixel-aspect-ratio" property

  "pixel-aspect-ratio"       gchar*                : Read / Write

The pixel aspect ratio of the device.

Default value: "1/1"


The "saturation" property

  "saturation"               gint                  : Read / Write

The saturation of the video.

Allowed values: [-1000,1000]

Default value: 0


The "synchronous" property

  "synchronous"              gboolean              : Read / Write

When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).

Default value: FALSE


The "force-aspect-ratio" property

  "force-aspect-ratio"       gboolean              : Read / Write

When enabled, scaling will respect original aspect ratio.

Default value: FALSE


The "device" property

  "device"                   gchar*                : Read / Write

The number of the video adaptor.

Default value: "0"


The "device-name" property

  "device-name"              gchar*                : Read

The name of the video adaptor.

Default value: NULL


The "handle-events" property

  "handle-events"            gboolean              : Read / Write

When enabled, XEvents will be selected and handled.

Default value: TRUE


The "double-buffer" property

  "double-buffer"            gboolean              : Read / Write

Whether to double-buffer the output.

Default value: TRUE


The "handle-expose" property

  "handle-expose"            gboolean              : Read / Write

When enabled, the current frame will always be drawn in response to X Expose events.

Default value: TRUE


The "autopaint-colorkey" property

  "autopaint-colorkey"       gboolean              : Read / Write

Whether to autofill overlay with colorkey.

Default value: TRUE


The "colorkey" property

  "colorkey"                 gint                  : Read / Write

Color to use for the overlay mask.

Default value: 0


The "draw-borders" property

  "draw-borders"             gboolean              : Read / Write

Draw black borders to fill unused area in force-aspect-ratio mode.

Default value: TRUE


The "window-height" property

  "window-height"            guint64               : Read

Height of the window.

Default value: 0


The "window-width" property

  "window-width"             guint64               : Read

Width of the window.

Default value: 0