gstvideosink

gstvideosink

Functions

Properties

gboolean show-preroll-frame Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseSink
                ╰── GstVideoSink

Includes

#include <gst/video/gstvideosink.h>

Description

Functions

GST_VIDEO_SINK_HEIGHT()

#define GST_VIDEO_SINK_HEIGHT(obj) (GST_VIDEO_SINK_CAST (obj)->height)

GST_VIDEO_SINK_PAD()

#define GST_VIDEO_SINK_PAD(obj) GST_BASE_SINK_PAD(obj)

GST_VIDEO_SINK_WIDTH()

#define GST_VIDEO_SINK_WIDTH(obj) (GST_VIDEO_SINK_CAST (obj)->width)

gst_video_sink_center_rect ()

void
gst_video_sink_center_rect (GstVideoRectangle src,
                            GstVideoRectangle dst,
                            GstVideoRectangle *result,
                            gboolean scaling);

Types and Values

struct GstVideoSink

struct GstVideoSink {
  gint width, height;
};

struct GstVideoSinkClass

struct GstVideoSinkClass {
  GstBaseSinkClass parent_class;

  GstFlowReturn  (*show_frame) (GstVideoSink *video_sink, GstBuffer *buf);
};

struct GstVideoRectangle

struct GstVideoRectangle {
  gint x;
  gint y;
  gint w;
  gint h;
};

Property Details

The “show-preroll-frame” property

  “show-preroll-frame”       gboolean

Whether to render video frames during preroll.

Flags: Read / Write / Construct

Default value: TRUE