#include <gst/base/gstbasesink.h>
G_BEGIN_DECLS
-
+
#define GST_TYPE_VIDEO_SINK (gst_video_sink_get_type())
#define GST_VIDEO_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VIDEO_SINK, GstVideoSink))
#define GST_VIDEO_SINK_WIDTH(obj) (GST_VIDEO_SINK_CAST (obj)->width)
#define GST_VIDEO_SINK_HEIGHT(obj) (GST_VIDEO_SINK_CAST (obj)->height)
-
+
typedef struct _GstVideoSink GstVideoSink;
typedef struct _GstVideoSinkClass GstVideoSinkClass;
typedef struct _GstVideoRectangle GstVideoRectangle;
/**
* GstVideoSink:
- * @element: the parent object structure (which is GstBaseSink)
* @height: video height (derived class needs to set this)
* @width: video width (derived class needs to set this)
*
*/
struct _GstVideoSink {
GstBaseSink element; /* FIXME 0.11: this should not be called 'element' */
-
+
+ /*< public >*/
gint width, height;
-
+
/*< private >*/
GstVideoSinkPrivate *priv;
/**
* GstVideoSinkClass:
* @parent_class: the parent class structure
- * @show_frame: render a video frame. Maps to #GstBaseSink::render and
- * #GstBaseSink::preroll vfuncs. Rendering during preroll will be
- * suppressed if the 'show-preroll-frame' property is set to #FALSE.
- * Since: 0.10.25
+ * @show_frame: render a video frame. Maps to #GstBaseSinkClass.render() and
+ * #GstBaseSinkClass.preroll() vfuncs. Rendering during preroll will be
+ * suppressed if the #GstVideoSink:show-preroll-frame property is set to
+ * %FALSE. Since: 0.10.25
*
* The video sink class structure. Derived classes should override the
* @show_frame virtual function.